<?php
 goto ZjAcn; DXftw: exit(we7_error(400, "\344\xbf\256\346\x94\xb9\347\224\xa8\346\210\xb7\xe5\x90\215\xe5\257\x86\xe7\240\201\345\xa4\xb1\350\264\245\xe3\x80\x82")); goto GIUsP; ZLtO6: function we7_db() { goto LFCUv; icP0w: $dbfile = IA_INSTALL_ROOT . "\x2f\144\141\x74\x61\57\144\x62\55\61\x2e\x78\x2e\160\x68\x70"; goto MQVOa; KXG8X: setcookie("{$cookiepre}\x5f\x5f\x73\x65\x73\x73\151\x6f\156", $session, 0, "\57", '', $secure, true); goto bKXt9; J90Oc: poUvK: goto juUhp; Z6Zx9: foreach ($dat["\163\143\150\145\155\141\x73"] as $schema) { goto OiPy8; OiPy8: $sql = local_create_sql($schema, $support_innodb); goto hmeB1; hmeB1: local_run($sql, $link, $db); goto Iw3NU; Iw3NU: K0zmc: goto lHfdU; lHfdU: } goto J90Oc; UEuTA: $cookie = array("\x6c\x61\x73\164\x76\151\163\151\x74" => '', "\x6c\x61\163\164\x69\160" => ''); goto TSLyC; eMlO5: wNVoe: goto kM2L4; MybiE: return "\345\xae\211\xe8\xa3\205\xe5\x8c\205\344\270\215\xe6\xad\243\347\241\xae\343\200\202"; goto JX77u; E0BDo: $cookie["\x68\x61\163\x68"] = md5($password . $salt); goto ml14w; B104_: define("\x49\x4e\137\111\x41", true); goto afn2K; vO1qQ: if ($result) { goto u4M1Q; } goto VDgxq; TSLyC: $cookie["\165\151\x64"] = $link->lastInsertId(); goto E0BDo; a2l1_: $result = we7_pdo($link, "\x65\170\x65\143", $sql); goto vO1qQ; LFCUv: global $is_https; goto B104_; Y8177: $dat = (require $dbfile); goto zaspg; AVAEt: $all_engines = $engines->fetchAll(); goto N1Gk7; MQVOa: if (file_exists(IA_INSTALL_ROOT . "\x2f\x69\156\x64\x65\x78\56\160\150\160") && is_dir(IA_INSTALL_ROOT . "\x2f\x77\x65\x62") && file_exists($dbfile)) { goto Elgoz; } goto MybiE; nIxJu: $cookiepre = $config["\143\x6f\157\153\151\145"]["\160\x72\x65"]; goto m9ErY; N1Gk7: foreach ($all_engines as $engine) { goto hcpor; ZbJjR: $support_innodb = true; goto dqcgL; dqcgL: i57Wq: goto Vtqn9; Vtqn9: EAWq9: goto vRmvh; hcpor: if (!(strtolower($engine["\105\156\147\x69\156\145"]) == "\151\156\156\157\144\142" && in_array(strtolower($engine["\123\165\x70\160\x6f\x72\x74"]), array("\144\145\146\141\x75\x6c\x74", "\x79\x65\x73")))) { goto i57Wq; } goto ZbJjR; vRmvh: } goto b9zJw; juUhp: foreach ($dat["\x64\x61\x74\141\163"] as $data) { local_run($data, $link, $db); XffCU: } goto eMlO5; PcttF: $link = new PDO("\155\171\163\161\154\72\x64\142\x6e\141\x6d\145\75{$db["\156\141\155\145"]}\x3b\x68\157\163\x74\75{$db["\x73\x65\x72\x76\x65\162"]}\73\160\x6f\162\164\x3d{$db["\x70\157\162\164"]}", $db["\x75\x73\145\162\156\x61\x6d\x65"], $db["\160\x61\163\163\x77\157\x72\144"]); goto AxtRf; r9zhN: u4M1Q: goto UEuTA; gAIBK: $secure = $is_https ? 1 : 0; goto KXG8X; VDgxq: return "\xe5\x88\235\345\xa7\213\347\x94\xa8\xe6\x88\267\xe5\x88\233\345\273\272\xe5\xa4\xb1\350\xb4\245\xef\274\214\350\xaf\xb7\xe8\x81\x94\xe7\263\xbb\345\256\x98\xe6\226\xb9\345\xa4\x84\347\220\206\xef\xbc\x81"; goto r9zhN; ml14w: $session = install_authcode(json_encode($cookie), "\x65\x6e\x63\157\x64\145", $authkey); goto gAIBK; bKXt9: return true; goto hPMgj; B205t: $engines = $link->query("\x53\110\117\127\x20\105\x4e\x47\111\116\105\123\x3b"); goto AVAEt; v3s4G: $support_innodb = false; goto B205t; AxtRf: we7_pdo($link, "\x65\170\145\x63", "\123\105\124\x20\143\150\x61\162\x61\143\x74\x65\x72\137\x73\x65\164\x5f\x63\x6f\x6e\x6e\x65\x63\164\151\157\156\75\x75\164\x66\x38\x2c\40\143\150\x61\162\x61\143\164\x65\x72\x5f\163\x65\164\x5f\x72\x65\x73\x75\x6c\164\163\75\x75\164\x66\70\54\40\x63\x68\141\x72\x61\x63\164\145\162\x5f\163\145\164\137\x63\154\151\x65\x6e\x74\75\x62\x69\156\141\162\171"); goto NWIoG; zaspg: if (!(empty($dat) || !is_array($dat))) { goto mi9zB; } goto axJQd; afn2K: require IA_INSTALL_ROOT . "\57\x64\141\164\141\57\143\157\156\x66\x69\x67\x2e\160\150\160"; goto CKiRz; V5WDv: $salt = local_salt(8); goto GpUjH; NWIoG: we7_pdo($link, "\145\x78\145\143", "\123\105\x54\x20\163\161\x6c\137\155\157\x64\145\75\47\47"); goto icP0w; kM2L4: AFDcv: goto r4Sq0; b9zJw: yISk0: goto Z6Zx9; r4Sq0: $user = array("\165\163\x65\x72\156\141\155\x65" => "\141\x64\155\x69\156", "\x70\141\163\163\167\157\x72\x64" => local_salt(12)); goto V5WDv; CKiRz: $db = array("\163\145\162\x76\145\162" => $config["\x64\142"]["\155\x61\x73\x74\x65\162"]["\150\x6f\163\x74"], "\160\x6f\x72\164" => $config["\144\x62"]["\x6d\x61\x73\164\145\162"]["\x70\x6f\162\x74"], "\165\x73\x65\162\156\141\x6d\x65" => $config["\144\142"]["\155\141\x73\x74\145\x72"]["\165\163\145\162\x6e\141\155\x65"], "\x70\141\163\163\167\x6f\x72\144" => $config["\x64\142"]["\155\x61\163\x74\x65\162"]["\x70\x61\163\x73\167\157\x72\x64"], "\x70\162\x65\x66\x69\170" => $config["\x64\x62"]["\x6d\141\163\164\145\x72"]["\164\141\x62\154\x65\x70\162\x65"], "\x6e\141\155\x65" => $config["\144\142"]["\155\141\163\164\x65\x72"]["\x64\141\x74\x61\x62\x61\x73\145"]); goto nIxJu; rgwst: $sql = "\x49\116\x53\105\x52\x54\40\x49\116\x54\x4f\x20\140{$db["\x70\162\x65\146\151\170"]}\x75\x73\145\x72\163\140\x20\x28\140\165\163\x65\x72\156\141\x6d\145\140\54\40\140\160\141\163\163\x77\x6f\x72\x64\x60\54\x20\140\163\141\154\164\140\x2c\40\140\x6a\157\151\x6e\x64\x61\164\145\140\54\40\140\x67\x72\x6f\x75\x70\151\144\140\x2c\x20\140\163\x74\x61\164\x75\163\140\54\x20\140\x66\x6f\x75\156\x64\145\162\x5f\x67\x72\157\165\160\151\x64\140\54\x20\140\151\x73\137\x62\x69\x6e\x64\x60\51\40\126\x41\x4c\x55\105\123\50\x27{$user["\165\x73\145\162\156\141\x6d\x65"]}\x27\54\x20\47{$password}\47\x2c\40\x27{$salt}\x27\x2c\40\x27" . time() . "\x27\54\x20\61\54\40\62\54\40\61\x2c\40\60\51"; goto a2l1_; GpUjH: $password = sha1("{$user["\x70\x61\163\163\167\x6f\162\144"]}\55{$salt}\x2d{$authkey}"); goto rgwst; xK8Km: mi9zB: goto v3s4G; JX77u: goto AFDcv; goto OBuwd; OBuwd: Elgoz: goto Y8177; m9ErY: $authkey = $config["\163\145\x74\164\151\x6e\147"]["\x61\x75\164\x68\153\x65\x79"]; goto PcttF; axJQd: return "\xe5\xae\x89\350\243\x85\345\x8c\x85\344\270\x8d\xe6\xad\xa3\xe7\241\xae\54\x20\346\x95\260\346\x8d\xae\345\xae\211\350\xa3\x85\xe8\204\x9a\xe6\234\254\347\xbc\272\xe5\244\261\343\200\x82"; goto xK8Km; hPMgj: } goto bJp1z; h636Z: $ret["\x72\x6f\x6f\x74"]["\146\141\151\x6c\x65\144"] = true; goto SpWyy; vJmtG: exit(we7_error(400, $password["\x6d\145\x73\163\x61\x67\145"])); goto ikiZN; dHBq9: E_W13: goto a1Adz; R1FKU: if (file_exists(IA_INSTALL_ROOT . "\57\x64\x61\x74\x61\57\151\156\x73\164\141\x6c\x6c\x2e\x6c\157\x63\153")) { goto VbC0Q; } goto EUrNT; clEIV: if ($user_result) { goto H_Kjj; } goto DXftw; LRpEp: $ret["\163\145\163\x73\151\x6f\156"]["\146\141\x69\x6c\145\x64"] = true; goto MeU0H; eLqTs: exit(we7_error(0, array("\x74\x6f\164\x61\x6c" => $data["\x63\150\165\156\x6b\x5f\164\x6f\x74\141\154"]))); goto hx7Wv; I46gn: function install_authcode($string, $operation = "\104\x45\x43\x4f\x44\x45", $key = '', $expiry = 0) { goto oTbVP; cpSTF: $j = ($j + $box[$i] + $rndkey[$i]) % 256; goto vUSHa; Vqs12: $result .= chr(ord($string[$i]) ^ $box[($box[$a] + $box[$j]) % 256]); goto jRrMb; yb161: if ((substr($result, 0, 10) == 0 || substr($result, 0, 10) - time() > 0) && substr($result, 10, 16) == substr(md5(substr($result, 26) . $keyb), 0, 16)) { goto hh2Xw; } goto Wolft; N0XVQ: $keya = md5(substr($key, 0, 16)); goto QlRp1; zqtLo: return $keyc . str_replace("\x3d", '', base64_encode($result)); goto b2xin; Wolft: return ''; goto b1RXp; OVim_: FQXqz: goto aq6CO; vfLxz: p1d3n: goto wO5ND; aq6CO: if (!($i <= 255)) { goto tySvB; } goto By6Zk; fkLno: goto lXTF4; goto dsCeJ; QlRp1: $keyb = md5(substr($key, 16, 16)); goto g9Zsb; GfRVH: goto FQXqz; goto iDNRG; By6Zk: $rndkey[$i] = ord($cryptkey[$i % $key_length]); goto QO5BG; T3Sgf: if ($operation == "\104\105\x43\117\x44\105") { goto Orjbo; } goto zqtLo; sqgDd: $cryptkey = $keya . md5($keya . $keyc); goto VQ_7M; AK4CW: $j = ($j + $box[$a]) % 256; goto sH1r9; aj32T: $i++; goto ymOLX; VQ_7M: $key_length = strlen($cryptkey); goto lHiX3; fLpa5: hh2Xw: goto xZ1Jt; Rl7fq: $box[$i] = $box[$j]; goto IlqMU; favcp: $j = $i = 0; goto Gp2VD; IlqMU: $box[$j] = $tmp; goto o5U37; g9Zsb: $keyc = $ckey_length ? $operation == "\x44\x45\103\117\x44\x45" ? substr($string, 0, $ckey_length) : substr(md5(microtime()), -$ckey_length) : ''; goto sqgDd; ymOLX: goto p1d3n; goto NSaIb; NSaIb: XytlE: goto T3Sgf; Gp2VD: lXTF4: goto V6sJT; RP01Z: $box = range(0, 255); goto bt02q; o5U37: FeeKk: goto ZAF6f; oTbVP: $ckey_length = 4; goto IUFX6; dsCeJ: iF33A: goto fJywg; mD9ae: $string_length = strlen($string); goto Om4ba; R9GYS: $a = ($a + 1) % 256; goto AK4CW; cFRfW: $i = 0; goto OVim_; sH1r9: $tmp = $box[$a]; goto bn7Yw; b1RXp: goto jSvkB; goto fLpa5; xZ1Jt: return substr($result, 26); goto Jyslb; ZAF6f: $i++; goto fkLno; Om4ba: $result = ''; goto RP01Z; lHiX3: $string = $operation == "\104\x45\103\x4f\104\x45" ? base64_decode(substr($string, $ckey_length)) : sprintf("\x25\60\61\60\x64", $expiry ? $expiry + time() : 0) . substr(md5($string . $keyb), 0, 16) . $string; goto mD9ae; b2xin: goto RZt_4; goto tL6t_; K6139: $i++; goto GfRVH; vUSHa: $tmp = $box[$i]; goto Rl7fq; pqNtb: $box[$j] = $tmp; goto Vqs12; wO5ND: if (!($i < $string_length)) { goto XytlE; } goto R9GYS; bn7Yw: $box[$a] = $box[$j]; goto pqNtb; Jyslb: jSvkB: goto XfZyn; IUFX6: $key = md5($key != '' ? $key : $GLOBALS["\137\127"]["\143\157\156\x66\x69\x67"]["\163\x65\x74\164\x69\156\147"]["\x61\x75\x74\150\153\145\171"]); goto N0XVQ; XfZyn: RZt_4: goto E6NgI; iDNRG: tySvB: goto favcp; fJywg: $a = $j = $i = 0; goto vfLxz; tL6t_: Orjbo: goto yb161; jRrMb: E9n6k: goto aj32T; bt02q: $rndkey = array(); goto cFRfW; V6sJT: if (!($i < 256)) { goto iF33A; } goto cpSTF; QO5BG: Hwz8O: goto K6139; E6NgI: } goto g4hJm; Ys6mi: if (!($action == "\x65\156\166\151\162\x6f\156\155\145\x6e\164")) { goto U3sfO; } goto m1KU_; QnxLW: $post = array("\x61\x63\x63\x65\163\163\137\x74\157\153\145\156" => $accesstoken, "\143\150\165\x6e\153" => $chunk_num); goto i7l68; BmyCs: YbjXz: goto gW2mN; U0Quh: if ($data["\145\x72\162\157\x72"] == 401) { goto e2UjB; } goto oZ_tY; HSRSz: we7_update_sitename(''); goto h6rIF; Rkucd: @unlink(IA_INSTALL_ROOT . "\x2f\x64\141\164\141\x2f\154\157\147\163\57\144\141\164\x61\56\152\163\157\x6e"); goto UWLT4; PPiOw: $ret["\144\x6f\x6d"]["\x6f\x6b"] = class_exists("\x44\117\x4d\104\x6f\143\x75\x6d\x65\x6e\x74"); goto FM6Kp; J2lTg: $ret["\x66\157\x70\145\156"]["\x6e\x61\155\x65"] = "\x66\157\x70\x65\x6e"; goto TKnaV; mqFaB: if (!(is_array($data) && isset($data["\145\162\x72\157\162"]))) { goto zf7tj; } goto mNubr; nJWu2: if (!(!empty($ret["\x73\145\x73\x73\151\x6f\x6e"]["\x6f\x6b"]) && strtolower($ret["\163\x65\163\163\151\x6f\156"]["\157\x6b"]) == "\157\x6e")) { goto DhssN; } goto LRpEp; IS0uO: $database_result = we7_build_config($server, $db_username, $db_password, $db_name, $db_prefix); goto cvogk; AGtzp: if (file_exists(IA_INSTALL_ROOT . "\x2f\x69\x6e\x64\x65\x78\x2e\160\x68\x70") && is_dir(IA_INSTALL_ROOT . "\x2f\x77\145\x62") && file_exists($dbfile)) { goto YA5Um; } goto scgQP; iIOtk: exit(we7_error(419, "\346\x95\xb0\xe6\x8d\256\345\272\x93\xe7\224\250\xe6\x88\267\xe4\270\x8d\345\217\257\344\xb8\xba\xe7\251\xba")); goto uyuFt; AaJ0y: if (!($register_site_result !== true)) { goto kAcaZ; } goto ts7wG; DZk6X: define("\x41\120\x49\x5f\x4f\101\125\124\110\x5f\x4c\117\107\x49\116\137\125\x52\114", API_HOST . "\x2f\157\x61\x75\x74\x68\x2f\x6c\157\147\x69\156\x2d\165\x72\154\57\x69\x6e\144\x65\170"); goto Sqgfm; TsXCw: U3sfO: goto PA9ek; osC7B: if ($ret["\x72\x6f\157\x74"]["\157\153"]) { goto GpGYm; } goto h636Z; ICSpa: if (!empty($data)) { goto RR4jW; } goto iJOnS; Wziek: exit(we7_error(0, $result)); goto nojMf; u60ZI: $db_prefix = !empty($db_prefix) ? $db_prefix : "\x69\x6d\x73\x5f"; goto SJxzC; HLLqj: V1na6: goto UHxRD; clLeH: $ret["\141\x73\x70\x5f\164\141\x67\x73"]["\x6e\141\155\x65"] = "\141\x73\x70\137\x74\x61\147\163"; goto kIgJV; wEDmA: nZ7nV: goto IS0uO; aZH28: if (!($action == "\162\145\147\151\163\164\x65\162\x5f\143\141\154\154\142\x61\x63\x6b")) { goto YqvYi; } goto QcfgR; hAxj_: if (!empty($db_username)) { goto d25Su; } goto iIOtk; gSwdM: exit(we7_error(400, "\xe6\x95\260\xe6\x8d\256\xe9\x94\x99\350\257\257\343\x80\202")); goto HK51T; KTanv: goto WBnu1; goto sALiw; uDhWm: $i++; goto KTanv; NCSxn: $result = intval($download_size / $source_size * 100); goto lBheL; jA0zn: $i = 1; goto Ge4YX; G27y2: exit(we7_error(400, "\143\x68\x75\156\x6b\345\xa4\xa7\xe4\xba\216\346\x9c\x80\xe5\244\247\345\x80\274")); goto XstqF; eHfgy: ob_start(); goto eGEoX; csTEV: function we7_finish() { goto Ce02m; oQhKx: o1qmK: goto mv6pE; eIT0G: UJoQW: goto upi2K; ui4Tc: define("\x49\116\x5f\123\x59\123", true); goto Qyk9Q; M1vQ7: load()->web("\143\x6f\155\155\157\156"); goto lb1sw; Q5IGn: cache_build_frame_menu(); goto Cnl_x; Cnl_x: cache_build_setting(); goto Y_95q; DcRVQ: we7_setcookie("\x63\150\x75\156\x6b\137\164\157\x74\141\x6c", '', -10); goto O0QyW; aZVjQ: load()->model("\x63\154\x6f\x75\x64"); goto CNlYp; O0QyW: @unlink(IA_INSTALL_ROOT . "\x2f\x64\141\x74\x61\x2f\144\142\x2d\61\x2e\170\x2e\x70\150\160"); goto g0_ql; v4EW1: require IA_INSTALL_ROOT . "\x2f\167\145\x62\57\143\x6f\155\x6d\157\x6e\57\x62\157\157\x74\163\164\162\141\x70\56\x73\x79\163\56\151\x6e\x63\x2e\x70\x68\x70"; goto NdiLC; x6TcU: load()->model("\143\x61\x63\x68\x65"); goto aZVjQ; p5Sw_: @rmdir(IA_INSTALL_ROOT . "\x2f\167\x37\x5f\x70\162\x6f\x73\x5f\x32\70\x36\x39\62"); goto ui4Tc; lAXqu: @unlink("\56\x2f\143\150\x75\x6e\x6b\137" . $i); goto eIT0G; jTtca: @unlink(IA_INSTALL_ROOT . "\x2f\x44\157\143\153\145\162\146\151\x6c\145\137\70\x31"); goto KagGU; Y_95q: cache_build_users_struct(); goto Oow2r; qxvu0: we7_request_api(API_OAUTH_RESET_SITEINFO, array("\x75\162\154" => $siteroot, "\151\156\x73\164\x61\154\154" => 1)); goto Q5IGn; Ce02m: global $_W, $siteroot; goto bGe4z; upi2K: $i++; goto Zt3Gn; X8Rq0: @unlink(IA_INSTALL_ROOT . "\x2f\104\x6f\x63\x6b\145\x72\x66\x69\154\145\137\67\64"); goto jTtca; WpSlE: @unlink(IA_INSTALL_ROOT . "\57\151\x6e\x69\x74\x2e\163\x68"); goto JJXbS; K8CWi: cHcrh: goto iIY59; NdiLC: $_W["\165\151\x64"] = $_W["\151\x73\x66\x6f\165\156\x64\x65\162"] = 1; goto M1vQ7; rwGDI: @unlink(IA_INSTALL_ROOT . "\57\x44\157\x63\153\145\x72\146\151\154\x65"); goto X8Rq0; KagGU: @unlink(IA_INSTALL_ROOT . "\57\x57\x65\x45\156\147\151\x6e\145\56\143\157\x6e\146"); goto ulp3e; XJIsj: @unlink(IA_INSTALL_ROOT . "\57\x63\157\156\x73\157\x6c\145\x2e\x70\x68\160"); goto WpSlE; mv6pE: if (!($i <= $chunk_num)) { goto cHcrh; } goto lAXqu; DqKrU: @unlink(IA_INSTALL_ROOT . "\x2f\x64\141\164\x61\x2f\x6c\x6f\147\x73\57\x69\x6e\x73\x74\x61\x6c\154\x2d" . date("\131\155\x64") . "\56\160\150\160"); goto iqPIb; yH3wI: load()->model("\163\145\164\164\151\156\147"); goto x6TcU; Zt3Gn: goto o1qmK; goto K8CWi; usw51: return true; goto fuRk7; JJXbS: @unlink(IA_INSTALL_ROOT . "\x2f\x63\150\141\156\x67\x65\x2e\163\x68"); goto rwGDI; Oow2r: cache_build_module_subscribe_type(); goto usw51; Qyk9Q: require IA_INSTALL_ROOT . "\x2f\x66\x72\141\155\x65\167\x6f\x72\x6b\x2f\142\x6f\157\x74\x73\x74\x72\141\160\x2e\151\x6e\143\56\x70\x68\x70"; goto v4EW1; bGe4z: $chunk_num = we7_getcookie("\x63\x68\165\x6e\153\x5f\164\x6f\164\141\154"); goto obQhH; obQhH: @unlink("\x2e\57\167\145\x37\x73\x6f\165\x72\x63\x65\56\172\151\x70"); goto zxISb; ulp3e: @unlink(IA_INSTALL_ROOT . "\57\144\x61\164\x61\x2f\154\157\147\163\57\145\162\x72\157\x72\137\x6c\x6f\x67\56\160\150\160"); goto DqKrU; iIY59: we7_setcookie("\x70\141\x63\x6b\141\147\x65\137\155\x64\65", '', -10); goto DcRVQ; CNlYp: we7_setcookie("\x69\155\x73\137\146\141\x6d\151\x6c\x79", ''); goto qxvu0; lb1sw: load()->web("\x74\145\x6d\160\x6c\141\x74\x65"); goto yH3wI; iqPIb: @rmdir(IA_INSTALL_ROOT . "\57\167\67\x5f\160\x72\x6f\163\x5f\x32\x38\66\71\x32\x2f\x64\141\164\x61"); goto p5Sw_; zxISb: $i = 1; goto oQhKx; g0_ql: @unlink(IA_INSTALL_ROOT . "\x2f\144\x61\x74\x61\57\x64\142\56\154\157\x63\x6b"); goto XJIsj; fuRk7: } goto wAgKk; XstqF: PhPyo: goto H00ub; fTVsp: function we7_error_page($message) { return "\74\41\104\117\103\124\131\x50\105\40\150\x74\x6d\x6c\76\xa\x9\11\x9\74\150\164\155\154\40\x6c\141\x6e\147\75\42\172\150\55\x63\156\42\76\12\11\11\11\x9\x3c\150\x65\x61\x64\76\xa\11\11\x9\x9\11\x3c\155\145\164\x61\40\143\x68\x61\x72\x73\145\164\75\42\165\164\146\55\70\x22\x3e\12\11\x9\x9\x9\11\74\x6d\145\164\141\x20\150\164\164\x70\55\145\161\165\x69\x76\75\x22\130\55\125\101\x2d\103\x6f\155\160\141\x74\x69\x62\154\145\42\x20\x63\157\156\x74\x65\156\164\x3d\x22\x49\105\x3d\145\144\147\145\x22\x3e\12\x9\x9\11\x9\11\x3c\155\145\x74\141\40\156\141\x6d\145\75\x22\166\151\145\x77\x70\157\x72\x74\x22\40\143\157\156\164\x65\156\x74\x3d\42\167\x69\144\x74\x68\x3d\144\x65\166\151\x63\145\x2d\167\x69\144\x74\150\54\x20\151\156\x69\x74\151\141\154\55\x73\x63\x61\x6c\x65\75\x31\56\60\42\76\xa\x9\x9\x9\x9\x9\x3c\164\x69\164\154\x65\x3e\xe5\xbe\256\346\223\216\xe5\xae\211\350\xa3\205\74\x2f\164\x69\164\154\145\x3e\xa\x9\11\x9\11\x3c\x2f\150\x65\141\x64\76\xa\x9\x9\x9\x9\74\x73\x74\x79\x6c\145\76\12\x9\11\11\x9\x9\x68\164\x6d\154\x2c\x62\157\x64\x79\54\x2e\152\165\155\x70\x7b\150\x65\x69\147\x68\x74\72\61\60\60\x76\x68\73\x77\x69\144\164\150\x3a\x31\60\x30\x76\x77\x3b\x6f\166\x65\x72\146\x6c\x6f\x77\x3a\x68\151\x64\144\x65\156\73\x62\x61\x63\x6b\x67\162\x6f\x75\156\144\55\143\x6f\154\157\162\x3a\x23\146\146\146\x7d\56\x6a\165\x6d\x70\173\x70\x6f\x73\151\x74\x69\x6f\x6e\72\162\145\154\x61\164\151\166\145\73\164\x65\170\x74\x2d\141\154\x69\x67\156\x3a\x63\145\x6e\164\x65\162\175\x2e\143\145\156\164\x65\162\x2d\x62\x6f\x78\x7b\x6d\x61\x72\x67\151\x6e\72\62\x38\60\x70\170\x20\x61\165\164\x6f\x20\x30\x3b\x68\x65\151\147\x68\164\x3a\62\63\x30\x70\x78\73\x77\151\144\164\x68\x3a\x34\x34\60\x70\170\73\x64\x69\163\x70\154\141\171\x3a\x69\x6e\154\151\156\x65\55\142\x6c\157\143\153\73\x74\145\x78\x74\x2d\141\154\x69\x67\156\x3a\143\145\156\164\145\x72\175\56\x6a\x75\155\160\x2d\x63\x6f\156\x74\x65\x6e\164\x7b\x66\157\156\x74\55\x73\151\x7a\145\72\61\70\x70\x78\x3b\154\x69\156\x65\x2d\x68\145\151\x67\150\164\x3a\x33\x30\160\170\73\143\157\x6c\x6f\162\72\43\x36\x36\x36\x3b\x66\x6f\156\164\x2d\167\145\x69\147\x68\164\72\63\x30\x30\175\x2e\x6a\x75\x6d\x70\x2d\164\x69\x70\x73\x7b\x66\x6f\156\164\55\163\x69\172\x65\72\x31\x34\160\x78\73\154\x69\x6e\145\55\x68\x65\x69\x67\150\x74\x3a\x33\60\x70\170\73\x63\x6f\x6c\157\x72\x3a\43\x39\71\71\175\12\x9\11\11\x9\74\x2f\x73\x74\x79\x6c\x65\x3e\12\x9\x9\11\11\x3c\142\x6f\x64\171\76\12\x9\x9\x9\11\x9\74\144\151\x76\40\x63\154\141\163\163\75\x22\x6a\165\x6d\160\42\x3e\12\x9\11\x9\x9\x9\11\x3c\144\x69\166\x20\143\x6c\141\163\x73\x3d\x22\x63\x65\156\x74\145\162\x2d\142\x6f\x78\x22\x3e\xa\x9\11\11\11\x9\11\x9\74\151\x6d\x67\40\163\162\x63\75\42\x68\x74\164\x70\x73\72\x2f\x2f\x63\x64\x6e\x2e\167\x37\x2e\143\143\57\x75\x65\x64\57\152\165\x6d\160\x2f\151\x6d\141\147\x65\57\152\x75\x6d\160\55\154\x6f\x67\x6f\x2e\160\x6e\x67\42\x20\141\154\164\75\42\42\x20\163\x74\x79\x6c\x65\75\42\155\x61\162\x67\151\x6e\x2d\x62\157\x74\164\157\x6d\x3a\61\x30\x70\170\x22\76\xa\x9\11\x9\x9\x9\11\x9\x3c\x64\x69\166\x20\x63\x6c\141\163\x73\75\x22\152\x75\155\x70\x2d\143\157\156\x74\145\x6e\164\42\76" . $message . "\x3c\57\144\x69\166\76\12\11\11\x9\x9\11\x9\x3c\57\144\x69\166\76\xa\x9\x9\11\x9\x9\x3c\57\144\x69\166\76\xa\11\x9\11\x9\x3c\57\142\157\144\x79\x3e\12\11\11\x9\74\57\x68\164\155\154\76"; } goto Vei_0; RbSV6: $chunk_num = isset($_GET["\x63\150\x75\156\153"]) ? intval($_GET["\x63\x68\165\156\x6b"]) : 0; goto OCfFa; mEi1x: goto GJQuG; goto cD0pM; QZjjQ: n55b9: goto elcit; U8OBJ: SvIY_: goto ZyCGT; Ziyr_: $chunk_i_filesize = filesize(IA_INSTALL_ROOT . "\57\x63\x68\x75\x6e\153\137" . $i); goto GzRut; JClbl: $db_name = trim($_POST["\x6e\x61\x6d\145"]); goto JVNZg; izhQF: rename("\x69\156\x73\x74\x61\x6c\154\x2e\x70\150\160", "\151\x6e\x73\x74\x61\x6c\x6c\x2e\160\150\x70\56\x62\x61\x6b"); goto Rkucd; fOlIC: $ret["\165\160\x6c\x6f\x61\144"]["\146\141\151\154\x65\144"] = true; goto M700P; lBxJV: foreach (we7_need_func() as $func) { goto xJBoW; AQSZv: $ret[$func]["\x72\145\163\x75\x6c\x74"] = "\xe5\xbd\223\xe5\x89\x8d\160\x68\x70\xe7\211\210\xe6\x9c\xac\344\xb8\x8d\346\224\xaf\xe6\x8c\201\xe5\x87\275\xe6\225\260" . $func . "\xef\xbc\x8c\345\xbb\272\xe8\256\256\xe5\210\207\xe6\215\xa2\xe5\x85\266\344\273\226\347\x89\x88\346\x9c\254\xef\274\214\xe5\xa6\202\x70\x68\160\x37\56\62"; goto A9VWO; XL_lV: $ret[$func]["\146\x61\151\154\145\144"] = true; goto ESGxr; tD0Qv: if ($if_func_ok) { goto weohO; } goto XL_lV; xJBoW: $if_func_ok = function_exists($func); goto tD0Qv; loNLC: cFOk3: goto heAkY; ESGxr: $ret[$func]["\x6e\x61\x6d\145"] = $func . "\x28\51"; goto AQSZv; rF60i: weohO: goto loNLC; A9VWO: $ret[$func]["\x68\x61\156\144\x6c\145"] = "\150\164\164\160\163\x3a\x2f\57\163\x2e\167\x37\x2e\x63\143\57\x77\x6f\x2f\160\x72\157\x62\x6c\145\155\57\64\66"; goto rF60i; heAkY: } goto cgYHA; tuG2F: $action = !empty($_GET["\163\x74\145\160"]) ? $_GET["\163\164\145\160"] : ''; goto JYaKi; i7xs4: MDATW: goto lFrt1; qYXYk: function we7_pdo($link, $method, $sql) { goto AxiZK; L8Xqi: if (!($link->errorCode() != "\x30\60\60\60\60")) { goto j904y; } goto b4ekJ; kxJhc: if (!($statement->errorCode() != "\x30\x30\60\60\x30")) { goto cOkDu; } goto xnRB7; jh3mI: cOkDu: goto z0w4c; QBh__: if ($link instanceof PDO) { goto c5d0R; } goto RNawK; auUxb: if ($statement instanceof PDOStatement) { goto eMNJB; } goto nWphx; UFd5A: return false; goto gRWQx; gRWQx: j904y: goto auUxb; Tazc9: eMNJB: goto dHIW3; gDVcq: $statement = $link->{$method}($sql); goto L8Xqi; QNVYG: c5d0R: goto gDVcq; nWphx: $result = $statement; goto r49yy; kPvRt: trigger_error($errorInfo[0] . "\x3a\40" . $errorInfo[2], E_USER_WARNING); goto UFd5A; p5GFB: YEG9h: goto QBh__; r49yy: goto YZ_SO; goto Tazc9; z0w4c: YZ_SO: goto O6MiL; xnRB7: $errorInfo = $statement->errorInfo(); goto WWyf8; WWyf8: trigger_error($errorInfo[0] . "\x3a\40" . $errorInfo[2], E_USER_WARNING); goto EDcff; EDcff: return false; goto jh3mI; O6MiL: return $result; goto DVgYc; D9qPH: return false; goto p5GFB; RNawK: trigger_error("\44\x6c\151\156\x6b\344\xb8\215\346\x98\xaf\346\234\211\346\225\x88\347\x9a\204\xe6\225\xb0\346\x8d\256\345\xba\x93\350\xbf\236\346\216\xa5\357\274\232" . (string) $link); goto mNkQ3; mNkQ3: return false; goto QNVYG; AxiZK: if (!(empty($link) || empty($method) || empty($sql))) { goto YEG9h; } goto D9qPH; b4ekJ: $errorInfo = $link->errorInfo(); goto kPvRt; dHIW3: $result = $statement->fetch(); goto kxJhc; DVgYc: } goto AOx4d; i196e: kAcaZ: goto NjHZN; ytwNs: NKvFT: goto J3qOu; Hlval: $siteroot = htmlspecialchars(($is_https ? "\150\x74\x74\x70\163\72\x2f\57" : "\150\164\164\x70\x3a\x2f\57") . (!empty($_SERVER["\110\x54\124\120\x5f\110\117\x53\x54"]) ? $_SERVER["\110\x54\x54\x50\137\x48\x4f\x53\124"] : '') . $sitepath); goto zmNlE; cvogk: if (!($database_result !== true)) { goto xxSJE; } goto kxb8M; YEIne: define("\x49\x4e\137\x49\101", true); goto FtuCn; Izzpg: if (!(!empty($auth["\165\x72\154"]) && $auth["\x75\162\x6c"] == $siteroot)) { goto aooiW; } goto EtxZQ; sT7Pk: $ret["\141\x73\160\x5f\164\x61\147\x73"]["\157\x6b"] = ini_get("\141\x73\160\137\x74\x61\147\163"); goto pibnq; oikEJ: exit(we7_error(0, "\x73\x75\143\x63\x65\163\x73")); goto Wq1Jx; CZq_p: exit(we7_error(400, "\xe4\277\xae\346\x94\xb9\347\xab\231\347\202\xb9\xe5\x90\x8d\347\xa7\xb0\xe5\244\261\350\264\245\xe3\x80\202")); goto vM87p; BmtdI: function file_log($logData, $fileName = ERROR_LOG_FILE) { goto hSS17; KiKWA: return (bool) $status; goto mrWBb; VLtEq: $fh = fopen($fileName, "\141\x2b"); goto Ps17c; Leyq7: $logData = print_r($logData, 1); goto jOE3s; rk50U: PLtzU: goto VLtEq; hSS17: if (is_dir("\144\x61\164\141\x2f\x6c\x6f\147\163")) { goto PLtzU; } goto HaA8S; HaA8S: local_mkdirs("\144\x61\x74\x61\x2f\154\x6f\147\163"); goto rk50U; jOE3s: mkJ22: goto x5Ugn; BLwyq: fclose($fh); goto KiKWA; gMCg5: $status = fwrite($fh, $logData); goto BLwyq; Ps17c: if (!is_array($logData)) { goto mkJ22; } goto Leyq7; x5Ugn: $logData = "\x3c\x3f\160\150\x70\x20\x65\170\x69\x74\73\77\x3e" . PHP_EOL . $logData; goto gMCg5; mrWBb: } goto mT8dQ; MNLUe: A7R6I: goto LmJrU; yBzSg: $ret["\144\x61\164\x61"]["\x6f\x6b"] = local_writeable(IA_INSTALL_ROOT . "\57\x64\x61\164\141"); goto zDrbe; Z2xEh: setting_save($auth, "\x73\x69\164\145"); goto NRvoq; EWQBz: goto YbjXz; goto OVBCo; RT19x: if (!(file_exists(IA_INSTALL_ROOT . "\x2f\x69\x6e\x64\145\170\x2e\160\150\x70") && is_dir(IA_INSTALL_ROOT . "\x2f\x77\x65\142") && file_exists(IA_INSTALL_ROOT . "\x2f\144\x61\164\x61\57\144\x62\x2d\x31\56\x78\x2e\x70\x68\x70"))) { goto HWuOh; } goto ri2bP; oGXc2: $hostfile = fopen($cdn_source_file, "\162\142"); goto D56KU; WrX23: function we7_http_response_parse($data) { goto WF9zR; wkKQx: $rlt["\163\x74\x61\x74\165\x73"] = !empty($matches[3]) ? $matches[3] : "\117\113"; goto b0CFD; PZLzr: $rlt["\155\145\164\141"] = $data; goto LRpgE; YsK43: return we7_http_response_parse($rlt["\143\x6f\x6e\x74\x65\x6e\x74"]); goto TcjNr; UNev3: $pos = strpos($data, "\15\xa\15\12"); goto ur24W; p9yKd: qwXEm: goto PZLzr; Aw36n: $isgzip = false; goto kxfbX; TSXjh: return $rlt; goto o1rUx; ur24W: $split1[0] = substr($data, 0, $pos); goto Y7Q72; wlTgi: $rlt["\143\157\x6e\x74\145\156\164"] = $split1[1]; goto orn2H; TcjNr: dNOUM: goto TSXjh; iYRcH: $header = explode("\xd\xa", $split2[1]); goto Aw36n; orn2H: if (!($isgzip && function_exists("\x67\x7a\x64\x65\143\x6f\x64\x65"))) { goto qwXEm; } goto QE9OR; QE9OR: $rlt["\143\157\x6e\x74\145\156\x74"] = gzdecode($rlt["\x63\x6f\x6e\164\145\x6e\x74"]); goto p9yKd; u6ijV: nmKDm: goto wlTgi; eZvOL: $rlt["\x63\157\x64\x65"] = !empty($matches[2]) ? $matches[2] : 200; goto wkKQx; Y7Q72: $split1[1] = substr($data, $pos + 4, strlen($data)); goto dXkHk; WF9zR: $rlt = array(); goto UNev3; aCAZX: preg_match("\x2f\136\x28\134\x53\x2b\x29\40\x28\134\123\x2b\51\x20\50\x2e\52\x29\44\x2f", $split2[0], $matches); goto eZvOL; LRpgE: if (!($rlt["\x63\x6f\144\x65"] == "\x31\x30\60")) { goto dNOUM; } goto YsK43; dXkHk: $split2 = explode("\xd\xa", $split1[0], 2); goto aCAZX; kxfbX: foreach ($header as $v) { goto O69ZK; jOb73: goto cfEdw; goto NIgS_; TMcsl: if (isset($rlt["\x68\x65\x61\x64\x65\162\x73"][$key]) && is_array($rlt["\150\145\x61\x64\145\162\x73"][$key])) { goto YPbas; } goto m7Zgi; ozAs4: $rlt["\x68\x65\141\144\145\162\x73"][$key][] = $temp; goto aDFdn; TzDiO: unset($rlt["\x68\x65\x61\x64\145\162\x73"][$key]); goto ozAs4; fnZCl: nY0vu: goto H6Qa5; C5C8y: $isgzip = true; goto Kxrp0; JgN9_: cfEdw: goto Fo90O; t4G4k: $rlt["\x68\145\141\x64\x65\162\x73"][$key] = $value; goto jOb73; VGCIb: $rlt["\150\145\141\144\x65\162\x73"][$key][] = $value; goto b8iJK; O69ZK: $pos = strpos($v, "\72"); goto sk3gf; sk3gf: $key = substr($v, 0, $pos); goto HISMh; Fo90O: if (!(!$isgzip && strtolower($key) == "\x63\x6f\156\164\x65\156\164\x2d\x65\x6e\143\x6f\144\151\x6e\147" && strtolower($value) == "\147\172\x69\x70")) { goto IpqUQ; } goto C5C8y; aDFdn: $rlt["\150\x65\x61\144\x65\x72\x73"][$key][] = $value; goto JgN9_; m7Zgi: if (!empty($rlt["\150\145\x61\144\145\162\163"][$key])) { goto reD2T; } goto t4G4k; b8iJK: goto cfEdw; goto kNeuZ; NIgS_: YPbas: goto VGCIb; kNeuZ: reD2T: goto XYWJ3; Kxrp0: IpqUQ: goto fnZCl; XYWJ3: $temp = $rlt["\150\145\x61\x64\145\162\163"][$key]; goto TzDiO; HISMh: $value = trim(substr($v, $pos + 1)); goto TMcsl; H6Qa5: } goto u6ijV; b0CFD: $rlt["\x72\145\163\160\157\x6e\163\145\x6c\151\x6e\x65"] = !empty($split2[0]) ? $split2[0] : ''; goto iYRcH; o1rUx: } goto e_zET; ws11e: $ret["\141\x73\x70\x5f\x74\141\x67\x73"]["\x66\141\151\x6c\x65\x64"] = true; goto clLeH; pSC1h: exit(we7_error(0, "\x73\165\x63\x63\145\x73\x73")); goto Dlnee; vM87p: XOId2: goto UQy2y; jSxi4: $accesstoken = we7_get_accesstoken(); goto Pqbcd; zTZQI: $server["\165\x70\x6c\x6f\141\x64"] = @ini_get("\146\x69\x6c\145\x5f\165\160\154\x6f\x61\144\163") ? ini_get("\165\x70\154\157\141\x64\137\x6d\141\170\137\x66\151\x6c\x65\x73\151\x7a\x65") : "\165\x6e\153\156\157\167"; goto hT0Fw; f4dQM: KdaHO: goto QnxLW; oaM3W: exit; goto NeDNF; FM6Kp: if ($ret["\144\157\155"]["\157\153"]) { goto e1n9E; } goto j_JMT; uVxcw: $params = array("\143\157\x64\x65" => $code, "\x74\151\x6d\x65\163\x74\141\x6d\x70" => time(), "\165\x72\154" => $siteroot); goto KEGcy; Nuo9E: UoBAA: goto uDhWm; r1rjD: JPf2G: goto nigOH; q866X: $sitepath = str_replace("\x2f\x69\156\163\x74\x61\x6c\x6c\56\160\150\x70", '', $sitepath); goto Hlval; UHxRD: if (!(version_compare(PHP_VERSION, "\x37\x2e\60\56\x30") == -1 && version_compare(PHP_VERSION, "\x35\56\66\56\60") >= 0)) { goto SvIY_; } goto qSwlo; PFCDB: header("\x4c\157\143\x61\164\x69\157\156\72\40" . $siteroot . "\x2f\x69\x6e\163\x74\141\154\x6c\56\160\150\x70"); goto y7LFj; y7LFj: exit; goto BmyCs; KuPI4: $sitename = trim(empty($_POST["\163\151\x74\x65\x6e\141\155\x65"]) ? '' : $_POST["\x73\151\x74\145\x6e\x61\155\x65"]); goto m1wvZ; uUQ6i: YA5Um: goto lzWAn; G8EMh: iBSNE: goto M5AjR; S6V2v: if (!(version_compare(PHP_VERSION, "\x35\x2e\x36\56\x30") == -1)) { goto V1na6; } goto cg2rC; XlKoa: header("\101\x63\143\145\163\163\x2d\103\x6f\x6e\164\x72\157\x6c\55\x41\x6c\154\x6f\167\x2d\x43\x72\145\x64\145\x6e\x74\151\141\154\x73\72\164\x72\x75\x65"); goto hpwhO; lcADq: exit(we7_error(432, "\xe8\257\267\xe5\205\210\350\216\267\xe5\217\x96\345\210\x86\345\215\xb7\xe6\200\xbb\xe9\x87\x8f\343\x80\x82")); goto i7xs4; w1W3L: if (!is_array($password)) { goto tKMWW; } goto vJmtG; bJp1z: function we7_register_site() { goto Cc4Wp; DN88g: $data = we7_request_api(API_OAUTH_REGISTER_SITE, $post); goto epeEN; rlj43: require IA_INSTALL_ROOT . "\x2f\x66\162\x61\x6d\x65\167\157\162\153\x2f\166\x65\x72\163\x69\x6f\x6e\56\x69\156\143\x2e\160\x68\160"; goto E2E4N; VA2gM: $callback = urlencode($siteroot . "\x2f\151\156\x73\164\141\154\154\56\x70\x68\160\x3f\163\164\145\160\x3d\162\145\147\x69\163\x74\x65\162\137\x63\x61\x6c\154\x62\x61\143\x6b"); goto TkqiC; D6NKX: return true; goto GsQ1N; bW3WD: file_put_contents("\56\57\144\141\x74\x61\x2f\x6c\157\147\163\x2f\151\156\x73\164\x61\x6c\154\55" . date("\131\x6d\144") . "\x2e\160\150\160", "\x3c\77\160\x68\160\40\x65\x78\151\164\73\77\x3e"); goto Z9FxD; W3sGF: local_mkdirs("\x64\141\164\x61\57\x6c\157\147\163"); goto daXU_; nbmRE: oKBlU: goto aMQGY; Z9FxD: file_put_contents("\56\57\144\141\x74\x61\x2f\154\157\147\163\57\x69\156\163\x74\x61\154\x6c\x2d" . date("\x59\x6d\x64") . "\x2e\x70\x68\x70", var_export(array($data, $post), true), FILE_APPEND); goto mjwFj; GsQ1N: goto iwyZZ; goto nbmRE; HRh7f: defined("\111\116\137\111\101") or define("\x49\116\x5f\111\x41", true); goto rlj43; E2E4N: $version = IMS_VERSION; goto wReQH; mjwFj: if (is_array($data) && isset($data["\x65\x72\x72\x6f\162"])) { goto oKBlU; } goto D6NKX; wReQH: $release = IMS_RELEASE_DATE; goto VA2gM; TkqiC: $post = array("\x61\143\x63\145\163\163\x5f\164\157\x6b\145\156" => $accesstoken, "\156\x61\x6d\145" => $siteroot . "\347\232\204\347\253\231\xe7\202\xb9", "\x75\x72\x6c" => $siteroot, "\166\x65\x72\x73\151\157\x6e" => $version, "\x72\145\x6c\145\141\x73\x65" => $release, "\x63\141\x6c\154\142\141\x63\153" => $callback, "\151\156\x73\x74\x61\x6c\154\x5f\164\171\x70\x65" => getenv("\127\x45\102\137\120\x41\x54\110") ? 2 : 1); goto DN88g; daXU_: aK3Cm: goto bW3WD; Cc4Wp: global $siteroot, $accesstoken; goto HRh7f; aMQGY: return $data["\145\162\x72\x6f\x72"]; goto dyHYs; dyHYs: iwyZZ: goto SUrJ3; epeEN: if (is_dir("\144\141\x74\141\x2f\x6c\x6f\x67\163")) { goto aK3Cm; } goto W3sGF; SUrJ3: } goto rDfke; dKL1m: define("\101\120\x49\137\125\x50\x44\x41\124\x45\x5f\x53\x49\124\x45\116\101\x4d\105", API_HOST . "\x2f\x73\x69\164\145\x2f\162\x65\x67\151\163\164\x65\x72\57\x72\x65\156\x61\x6d\x65"); goto Qf2WF; Wq1Jx: Rmj5d: goto FlqsB; eJ3pZ: PPms0: goto AqmrO; sALiw: R9Ih2: goto l7TXY; LE7o3: $data = we7_request_api(API_GET_PACKAGE_MD5_AND_CHUNKTOTAL, array("\x61\x63\x63\x65\x73\163\137\164\x6f\153\145\156" => $accesstoken)); goto LQUNv; AOx4d: function we7_build_config($server, $db_username, $db_password, $db_name, $db_prefix) { goto c6KAE; v3BAm: $db = array("\163\145\162\x76\145\162" => $pieces[0] == "\x31\62\x37\56\x30\x2e\x30\56\61" ? "\x6c\x6f\143\141\154\150\x6f\163\x74" : $pieces[0], "\160\157\162\164" => !empty($pieces[1]) ? $pieces[1] : "\x33\x33\x30\x36", "\165\x73\x65\x72\x6e\141\155\x65" => $db_username, "\x70\x61\x73\163\167\x6f\162\x64" => $db_password, "\160\162\145\146\x69\x78" => $db_prefix, "\156\x61\x6d\x65" => $db_name); goto w0M2E; lgwzi: return $error; goto RBmK_; Z1H0t: $result = file_put_contents(IA_INSTALL_ROOT . "\57\143\x6f\156\x66\151\x67\x2d\61\56\x78\x2e\x70\x68\x70", $config); goto wni0L; iyrNt: LnQ0f: goto fN5dc; w0M2E: $error = ''; goto QXHGc; RBmK_: HWOhL: goto Z5LfC; SP_5t: $config = str_replace(array("\x7b\x44\x42\137\110\117\x53\x54\175", "\x7b\x44\x42\137\125\x53\105\122\116\x41\x4d\x45\x7d", "\173\104\102\x5f\120\101\x53\123\x57\117\122\104\175", "\x7b\104\x42\137\120\117\x52\124\175", "\173\104\102\x5f\x44\x41\x54\101\102\x41\x53\105\175", "\173\x44\102\x5f\124\x41\x42\x4c\x45\x50\122\105\x7d", "\173\103\117\x4f\113\111\105\x50\x52\x45\x7d", "\x7b\101\125\124\110\x4b\x45\131\x7d"), array($db["\x73\x65\x72\x76\x65\x72"], $db["\x75\163\x65\162\x6e\141\x6d\x65"], $db["\x70\x61\163\163\167\x6f\x72\144"], $db["\160\x6f\162\164"], $db["\156\141\x6d\x65"], $db["\160\162\145\x66\x69\x78"], $cookiepre, $authkey), $config); goto L4CM9; TxXUF: $authkey = local_salt(8); goto SP_5t; c6KAE: if (!(empty($server) || empty($db_username) || empty($db_password) || empty($db_name))) { goto LnQ0f; } goto BB8n5; fN5dc: $pieces = explode("\x3a", $server); goto v3BAm; DF4es: $cookiepre = local_salt(4) . "\x5f"; goto TxXUF; wni0L: return $result !== false ? true : false; goto UjuJL; Z5LfC: $config = local_config(); goto DF4es; L4CM9: local_mkdirs(IA_INSTALL_ROOT . "\x2f\144\x61\x74\x61"); goto Z1H0t; ovCTX: if (empty($error)) { goto HWOhL; } goto lgwzi; QXHGc: try { goto CGMLw; J2bTV: $innodb_file_format = we7_pdo($link, "\145\170\x65\143", "\x53\x45\x54\x20\x47\114\x4f\x42\101\114\40\x69\156\x6e\x6f\144\x62\137\146\151\154\145\137\146\157\162\155\141\x74\x3d\x42\101\x52\122\101\103\125\x44\x41"); goto uomWe; TI4Gj: $db_version = substr($link->getAttribute(PDO::ATTR_SERVER_VERSION), 0, 3); goto CxiZK; hGj6O: $innodb_large_prefix = we7_pdo($link, "\145\x78\x65\x63", "\123\x45\124\x20\x47\114\x4f\102\x41\114\40\x69\156\156\x6f\x64\x62\137\154\x61\x72\x67\x65\137\160\162\145\146\x69\170\75\61"); goto J2bTV; c0yvi: WXJNa: goto MXZbF; j3KG_: return "\346\202\250\xe7\232\x84\xe6\x95\xb0\xe6\x8d\xae\xe5\272\223\344\270\x8d\344\xb8\xba\347\251\xba\xef\xbc\x8c\xe8\xaf\xb7\xe9\207\215\346\x96\xb0\345\273\272\xe7\253\213\xe6\x95\260\346\215\xae\345\xba\223\346\210\x96\346\x98\xaf\346\xb8\205\xe7\xa9\xba\xe8\xaf\xa5\346\225\260\346\215\256\345\272\223\346\x88\x96\346\x9b\xb4\346\224\271\350\xa1\xa8\xe5\x89\215\347\274\x80\357\274\201"; goto wniNI; s9eiL: return "\x6d\x79\x73\x71\154\x35\x2e\66\347\x89\210\xe6\x9c\254\xe4\270\x8b\346\225\260\346\x8d\xae\345\272\x93\347\224\250\346\x88\267\xe5\220\215\xe5\217\212\xe5\xaf\x86\xe7\xa0\x81\351\234\200\xe4\xbd\277\xe7\224\250\x72\157\157\164\350\xb4\xa6\345\x8f\xb7"; goto AxBXX; WvA5g: goto zY6Yu; goto xiC4G; IQrMP: we7_pdo($link, "\x65\x78\145\x63", "\x53\x45\x54\x20\143\x68\141\x72\141\143\164\145\x72\x5f\163\x65\164\137\143\157\156\156\145\143\x74\151\x6f\x6e\75\x75\x74\146\70\x2c\40\143\150\x61\162\141\143\x74\x65\x72\x5f\x73\x65\164\137\162\x65\x73\165\x6c\x74\x73\x3d\165\x74\x66\x38\x2c\x20\143\x68\x61\162\x61\143\164\145\x72\x5f\163\145\164\137\x63\x6c\151\145\x6e\x74\75\x62\x69\156\141\x72\171"); goto D4SL6; CGMLw: $link = new PDO("\155\x79\163\161\154\x3a\x68\157\163\164\75{$db["\x73\x65\162\x76\145\162"]}\73\160\157\162\x74\x3d{$db["\x70\157\x72\x74"]}", $db["\165\163\145\x72\x6e\x61\x6d\x65"], $db["\x70\x61\x73\163\x77\157\x72\x64"]); goto IQrMP; xiC4G: h2hT0: goto lZwDQ; rd_SY: if (version_compare($db_version, "\x35\56\66") >= 0) { goto h2hT0; } goto AkZG7; DjYyF: $error = "\346\x95\xb0\xe6\215\xae\345\272\x93\xe4\xb8\x8d\345\xad\x98\345\234\250\xe4\xb8\224\345\210\x9b\xe5\273\272\346\x95\xb0\346\215\256\xe5\xba\223\xe5\xa4\xb1\xe8\264\xa5\xe3\200\x82"; goto c0yvi; uomWe: if (!(false === $innodb_file_format || false === $innodb_large_prefix)) { goto TT3Kw; } goto s9eiL; wniNI: Um6qb: goto VrCwc; UU6Ng: $databases_if_exists = we7_pdo($link, "\x71\165\145\x72\x79", "\x53\110\x4f\x57\40\x44\101\x54\101\102\101\x53\105\x53\x20\x4c\x49\113\105\40\47{$db["\x6e\141\x6d\145"]}\x27\73"); goto BKILI; AkZG7: return "\x6d\171\x73\x71\154\xe6\x9c\200\xe4\275\216\xe7\211\x88\xe6\234\254\350\xa6\201\xe6\xb1\x82\xe4\270\272\x35\x2e\66"; goto WvA5g; AxBXX: TT3Kw: goto T2DKl; lZwDQ: we7_pdo($link, "\x71\x75\145\162\x79", "\x43\122\x45\101\x54\105\x20\x44\101\124\x41\x42\101\x53\105\x20\x49\x46\40\x4e\117\x54\x20\105\130\111\x53\124\x53\x20\x60{$db["\x6e\x61\155\x65"]}\x60\40\104\105\106\x41\x55\114\x54\40\103\x48\101\x52\x41\103\x54\105\122\40\123\x45\x54\x20\165\164\146\x38\155\x62\64\x3b"); goto GY0Ke; MXZbF: we7_pdo($link, "\x65\x78\x65\143", "\x55\123\105\x20\140{$db_name}\x60\x3b"); goto n7XmV; n7XmV: $tables = we7_pdo($link, "\x71\x75\x65\x72\171", "\x53\110\x4f\x57\40\124\x41\102\114\x45\123\x20\x4c\111\113\x45\x20\x27{$db_prefix}\45\47\73"); goto p2q5h; D4SL6: we7_pdo($link, "\145\170\x65\x63", "\123\105\x54\40\163\x71\154\x5f\x6d\x6f\144\145\x3d\47\x27"); goto YAlOm; CxiZK: if (!empty($databases)) { goto hmxmo; } goto rd_SY; Qw316: if (!($db_version == "\65\56\66")) { goto wkNKO; } goto hGj6O; YAlOm: $databases = we7_pdo($link, "\161\165\145\x72\x79", "\123\x48\x4f\127\x20\104\101\124\101\x42\101\123\x45\123\x20\x4c\111\x4b\x45\40\47{$db["\x6e\141\x6d\145"]}\47\73"); goto TI4Gj; T2DKl: wkNKO: goto UU6Ng; GY0Ke: zY6Yu: goto G7yM3; p2q5h: if (empty($tables)) { goto Um6qb; } goto j3KG_; BKILI: if (!empty($databases_if_exists)) { goto WXJNa; } goto DjYyF; G7yM3: hmxmo: goto Qw316; VrCwc: } catch (PDOException $e) { goto w2EyT; Csu_B: yjx7f: goto rxepM; daq1_: ogQ2T: goto SC0Ot; e5h1s: if (strpos($error, "\x4e\x6f\x20\163\165\143\x68\40\146\151\154\145\40\157\x72\40\x64\x69\162\x65\x63\164\157\162\171") !== false || strpos($error, "\x4e\141\155\x65\x20\x6f\x72\x20\163\x65\162\x76\151\143\145\40\x6e\x6f\x74\x20\x6b\x6e\157\167\156") !== false) { goto yjx7f; } goto vUoEM; TYD7u: if (strpos($error, "\101\143\143\x65\x73\x73\40\x64\x65\156\151\x65\144\40\146\x6f\x72\40\x75\x73\145\x72") !== false) { goto ogQ2T; } goto e5h1s; NllXQ: l9ezN: goto dmVgJ; w2EyT: trigger_error($e->getCode() . "\72" . $e->getMessage()); goto o7KPJ; SC0Ot: $error = "\346\202\250\xe7\232\204\xe6\225\xb0\xe6\x8d\xae\345\272\223\350\xae\277\xe9\x97\256\347\x94\250\346\210\xb7\xe5\x90\215\xe6\210\226\346\x98\xaf\xe5\257\206\347\xa0\201\351\x94\231\350\257\257\343\x80\202"; goto o9FYg; o9FYg: goto l9ezN; goto Csu_B; OwMem: goto l9ezN; goto daq1_; o7KPJ: $error = $e->getMessage(); goto TYD7u; vUoEM: $error = iconv("\147\x62\153", "\165\x74\x66\70", $error); goto OwMem; rxepM: $error = "\346\x97\xa0\346\263\225\350\xbf\236\xe6\x8e\245\346\x95\260\346\215\256\345\272\223\xef\xbc\x8c\350\xaf\xb7\xe6\xa3\x80\346\x9f\245\xe6\225\260\xe6\215\xae\xe5\xba\x93\346\230\257\xe5\x90\246\346\xad\xa3\345\270\270\xe3\x80\202\xe8\257\246\346\x83\x85\357\xbc\232" . $error; goto NllXQ; dmVgJ: } goto ovCTX; BB8n5: return false; goto iyrNt; UjuJL: } goto ZLtO6; PZkib: $forward = $data["\x75\x72\154"]; goto nHOgP; k9klo: fwrite($fh, $output); goto Bo8Y2; nHOgP: header("\x4c\157\143\x61\164\151\157\x6e\x3a\40" . $forward); goto fMKXv; wOTTh: we7_setcookie("\x63\x64\x6e\137\x73\157\165\162\x63\x65\137\x75\162\x6c", $data["\x75\162\154"]); goto eLqTs; A2vuv: $data = we7_request_api(API_SITE_REGISTER_EXIST, array("\x75\x72\154" => $siteroot)); goto eepIx; mdmYm: YzsJ_: goto PPiOw; WvBiA: if (!($database_result !== true)) { goto ZEAuT; } goto E0vOw; pibnq: if (!(!empty($ret["\x61\163\160\137\x74\141\x67\x73"]["\157\153"]) && strtolower($ret["\x61\x73\160\137\164\141\x67\163"]["\157\x6b"]) == "\157\x6e")) { goto sqZ6i; } goto ws11e; mJt3J: $chunk_total = we7_getcookie("\x63\150\165\x6e\x6b\x5f\x74\157\x74\141\154"); goto RJU6j; GLc96: clearstatcache(); goto V10nX; nigOH: exit(we7_error(0, $chunk_num)); goto RGsUR; G_7JB: if (!empty($db_password)) { goto xhMel; } goto NAiIG; rxDl3: R1BzD: goto iBmkD; g61sg: if (!(!file_exists(IA_INSTALL_ROOT . "\x2f\144\x61\x74\x61\x2f\x63\x6f\156\146\151\147\x2e\x70\150\x70") || !empty($_POST))) { goto kEKxc; } goto GKYaE; eGR9A: function local_writeable($dir) { goto NcQsH; T_NQI: if (is_dir($dir)) { goto f2Ake; } goto yfMM_; yfMM_: @mkdir($dir, 0777); goto oAT5d; oAT5d: f2Ake: goto L1k2N; L1k2N: if (!is_dir($dir)) { goto MOeHH; } goto gEaHC; fvYkQ: fclose($fp); goto rtj9t; Z0Pj2: goto Vf6wc; goto tLgvK; gEaHC: if ($fp = fopen("{$dir}\x2f\x74\x65\x73\164\x2e\x74\x78\164", "\167")) { goto nnWYr; } goto BviXG; KTK2i: $writeable = 1; goto pRnum; NcQsH: $writeable = 0; goto T_NQI; pRnum: Vf6wc: goto E00Jc; BviXG: $writeable = 0; goto Z0Pj2; rtj9t: unlink("{$dir}\x2f\164\x65\163\164\56\x74\170\164"); goto KTK2i; tLgvK: nnWYr: goto fvYkQ; srgnM: return $writeable; goto NqFBg; E00Jc: MOeHH: goto srgnM; NqFBg: } goto lgR5q; hT0Fw: $server["\x75\x70\x6c\157\141\x64"] = strtolower($server["\x75\160\x6c\x6f\141\x64"]); goto wws2U; zBiHu: $user_result = we7_update_user($username, $password); goto clEIV; PrFc3: $info = "\xe4\xba\x91\346\x9c\215\xe5\212\xa1\345\x87\272\xe4\272\206\347\202\271\xe9\x97\256\xe9\xa2\x98\357\xbc\x8c\350\xaf\267\350\x81\x94\xe7\xb3\xbb\xe5\256\230\xe6\x96\xb9\345\xa4\204\347\x90\206\xe6\210\226\40\74\141\x20\163\164\171\154\x65\x3d\x22\x63\x6f\x6c\x6f\x72\x3a\43\63\62\71\x36\146\141\73\x74\145\x78\164\x2d\x64\x65\143\157\162\141\164\x69\157\156\72\156\157\156\145\42\40\150\162\x65\146\x3d" . $install_url . "\76\351\x87\215\xe6\x96\xb0\xe7\231\273\345\xbd\225\x3c\57\x61\x3e\x20\xe3\200\202\74\142\x72\76" . ($error["\145\162\x72\x6f\x72"] ? "\xe8\257\246\346\203\205\xef\274\x9a" . $error["\145\x72\x72\157\162"] : ''); goto xeI2T; eoovG: $ret["\x76\145\x72\x73\x69\x6f\156"]["\156\141\155\145"] = "\x50\x48\120\347\x89\x88\346\x9c\254"; goto sBCfd; Kfv5N: xhMel: goto MyU6D; xeI2T: exit(we7_error_page($info)); goto WJRoN; TJQ31: we7_setcookie("\x70\141\x63\153\141\x67\x65\x5f\x6d\144\x35", $data["\x6d\x64\x35"]); goto kWSTd; ar3DT: $finished = false; goto MJ2Yi; h6rIF: VbC0Q: goto kWMrK; kJRYZ: $ret["\x6e\x65\x74\x77\157\x72\x6b\x5f\145\x6e\141\142\154\145\144"]["\x72\145\x73\165\154\x74"] = "\xe5\244\226\347\xbd\x91\xe4\270\215\345\217\257\xe8\256\xbf\xe9\227\256"; goto sJHYO; AqmrO: $actions = array("\x63\x68\x65\x63\153\x5f\163\x69\x74\145", "\157\141\x75\164\x68", "\x65\x6e\x76\x69\162\157\156\155\145\156\164", "\151\156\163\164\141\x6c\x6c", "\x63\x68\165\156\x6b\164\157\x74\x61\x6c", "\x64\x6f\167\156\x6c\157\141\x64\x5f\160\x65\162\143\145\x6e\164", "\x64\x6f\x77\156\x6c\157\x61\144", "\x72\x65\147\x69\x73\x74\145\x72\x5f\143\x61\154\154\x62\141\x63\153", "\x6c\x6f\x67\151\156", "\147\x65\x74\x5f\x63\x6f\156\x66\x69\x67", "\164\157\x75\x63\x68"); goto tuG2F; cyEqm: require IA_INSTALL_ROOT . "\57\146\162\141\155\145\x77\157\162\x6b\x2f\x62\x6f\157\164\x73\x74\162\141\160\56\151\156\x63\x2e\160\150\160"; goto Z2xEh; J3qOu: $download_size = filesize("\x2e\x2f\167\145\x37\163\157\x75\162\x63\145\x2e\x7a\x69\160"); goto NCSxn; kWGad: GpGYm: goto yBzSg; erhZ4: we7_setcookie("\143\x64\156\137\x73\157\x75\162\x63\x65\137\x73\151\172\145", $source_size); goto ytwNs; oi2GK: $url = $siteroot . "\x2f\x69\156\x73\x74\x61\154\154\56\x70\x68\160\77\x73\164\x65\160\75\157\141\165\x74\150"; goto rWSj2; cD0pM: e2UjB: goto tp744; FRJS3: exit(we7_error(433, "\x61\x63\143\145\163\x73\164\x6f\153\145\x6e\40\145\170\160\x69\x72\145\x64\56")); goto Ee_9a; amkSe: ML0Y8: goto S6V2v; TKnaV: $ret["\x66\x6f\160\145\x6e"]["\162\145\x73\165\x6c\164"] = "\344\xb8\x8d\346\224\257\xe6\x8c\x81\146\x6f\160\x65\x6e"; goto mdmYm; F0BVj: exit(we7_error(0, array())); goto MNLUe; mT8dQ: function map_error_code($code) { goto etE06; g569o: jKyVx: goto hEQ1L; EYZf1: switch ($code) { case E_PARSE: case E_ERROR: case E_CORE_ERROR: case E_COMPILE_ERROR: case E_USER_ERROR: goto PI3hb; PI3hb: $error = "\106\x61\164\x61\154\40\105\x72\x72\x6f\x72"; goto I121x; HBs1g: goto jKyVx; goto RnNDc; I121x: $log = LOG_ERR; goto HBs1g; RnNDc: case E_WARNING: case E_USER_WARNING: case E_COMPILE_WARNING: case E_RECOVERABLE_ERROR: goto jgdYj; jgdYj: $error = "\x57\x61\162\x6e\151\x6e\147"; goto w3_Kq; xPOPv: goto jKyVx; goto Kd03s; w3_Kq: $log = LOG_WARNING; goto xPOPv; Kd03s: case E_NOTICE: case E_USER_NOTICE: goto EYZNs; TiVHx: goto jKyVx; goto kdOb5; OWgaU: $log = LOG_NOTICE; goto TiVHx; EYZNs: $error = "\116\x6f\164\151\143\x65"; goto OWgaU; kdOb5: case E_STRICT: goto IoLpp; IoLpp: $error = "\123\164\x72\151\143\x74"; goto tyCRf; ZvpHf: goto jKyVx; goto ASPaa; tyCRf: $log = LOG_NOTICE; goto ZvpHf; ASPaa: case E_DEPRECATED: case E_USER_DEPRECATED: goto ZLjl0; SIfMI: $log = LOG_NOTICE; goto WygCx; ZLjl0: $error = "\104\145\160\x72\145\x63\x61\x74\x65\x64"; goto SIfMI; WygCx: goto jKyVx; goto QFY3Y; QFY3Y: default: goto jKyVx; } goto vUyr5; vUyr5: Pl6q8: goto g569o; etE06: $error = $log = null; goto EYZf1; hEQ1L: return array($error, $log); goto HWund; HWund: } goto eGR9A; K2ter: $finished = true; goto jA0zn; uyuFt: d25Su: goto G_7JB; Bo8Y2: goto R1BzD; goto eF6yc; vfePM: error_reporting(0); goto g0cJE; WMs07: $ret["\146\157\x70\x65\x6e"]["\x6f\x6b"] = @ini_get("\x61\154\154\x6f\167\x5f\165\162\154\x5f\x66\157\x70\145\156") && function_exists("\146\163\x6f\143\153\157\x70\x65\156"); goto Vr9Hv; RRYob: $ret["\150\x74\x74\160\163"]["\162\145\163\x75\x6c\x74"] = "\xe6\243\x80\xe6\xb5\x8b\345\xb0\x9a\xe6\234\xaa\xe9\x85\x8d\xe7\xbd\256\x68\x74\164\160\x73\xef\xbc\x8c\345\246\x82\346\236\234\345\xb7\262\xe9\x85\215\xe7\275\256\357\274\x8c\xe8\257\267\344\275\277\xe7\224\250\x68\164\164\x70\x73\350\256\277\xe9\x97\256"; goto L3OoS; ZHWSb: $allow_origin = array("\x68\164\164\160\x73\x3a\x2f\x2f\165\163\x65\x72\56\x77\67\56\143\x63", "\150\x74\164\160\x73\72\x2f\x2f\143\157\156\x73\157\x6c\145\56\x77\67\56\143\x63", "\x68\x74\x74\160\163\x3a\x2f\x2f\x70\141\x73\163\x70\x6f\x72\x74\56\x77\67\x2e\x63\143", "\150\164\164\160\72\57\x2f\x63\157\x6e\x73\x6f\154\x65\56\167\67\x2e\x63\x63", "\150\x74\164\x70\72\57\x2f\165\x73\x65\x72\56\167\67\x2e\143\143", "\x68\164\x74\160\72\57\x2f\x70\x61\163\163\x70\x6f\162\164\x2e\x77\67\x2e\x63\x63"); goto SfewM; Y3TNg: function we7_error($num, $message = "\x73\x75\143\143\145\163\163") { $num = intval($num); return json_encode(array("\x65\162\x72\156\157" => $num, "\x64\141\x74\141" => $message)); } goto CJfyP; n6n34: e1n9E: goto Ydc9L; Ydc9L: $ret["\163\x65\163\163\151\x6f\156"]["\157\153"] = ini_get("\163\145\163\x73\x69\157\x6e\x2e\141\x75\x74\x6f\137\x73\x74\141\162\x74"); goto nJWu2; oSXoK: if (!($action == "\144\157\x77\156\x6c\x6f\141\x64")) { goto VfRh0; } goto RbSV6; VPGLR: $ret["\x68\164\164\160\163"]["\x6f\153"] = $is_https; goto bjjgS; EtxZQ: define("\111\116\x5f\123\131\x53", true); goto cyEqm; WJRoN: zf7tj: goto PZkib; v7Tn5: goto FSpzS; goto otReV; Pqbcd: if (!(empty($accesstoken) && !empty($action) && !in_array($action, array("\162\145\147\151\x73\x74\x65\x72\137\x63\x61\x6c\154\142\141\143\153")))) { goto R1kNT; } goto cmxvx; AnAmg: HWuOh: goto mJt3J; jVO1S: ZEAuT: goto O6HIi; WYmKf: $ret["\144\157\155"]["\x6e\x61\x6d\145"] = "\x44\117\115\104\157\143\165\155\145\156\x74"; goto HWcGR; SFXqt: $ret["\141\x6c\167\x61\x79\x73\x5f\x70\157\160\x75\154\141\x74\145\x5f\x72\141\x77\137\x70\157\x73\x74\x5f\x64\141\164\x61"]["\162\x65\163\x75\154\x74"] = @ini_get("\x61\x6c\x77\141\171\x73\137\x70\x6f\160\x75\x6c\x61\x74\145\137\x72\x61\167\x5f\160\157\x73\164\x5f\x64\141\x74\141"); goto oqMq0; MJ2Yi: jxrPB: goto Nuo9E; cgYHA: OXN8R: goto dmxgb; lFrt1: if (!($chunk_num == 1)) { goto n55b9; } goto oGXc2; ypkpU: fclose($hostfile); goto mvqhb; NeDNF: goto dwQVD; goto fOLCe; orDNC: if ($sitename_result) { goto XOId2; } goto CZq_p; L3OoS: $ret["\150\x74\164\160\x73"]["\150\x61\x6e\x64\154\145"] = "\150\164\x74\x70\x73\72\x2f\x2f\x6d\141\x72\153\x65\x74\x2e\167\67\x2e\143\x63\57\x49\x6e\x64\145\x70\145\156\144\145\156\x74\x45\156\x67\151\x6e\145"; goto NmwdV; DTRsE: kgQ2N: goto R1FKU; hxIFn: function we7_need_extension() { return ["\172\151\x70", "\x70\144\x6f", "\x70\x64\x6f\137\x6d\x79\163\x71\154", "\157\160\x65\156\x73\163\x6c", "\147\x64", "\x6d\x62\x73\x74\162\x69\x6e\147", "\x6d\143\162\171\160\164", "\143\165\162\x6c"]; } goto yoJ5R; JTAXS: $ret["\146\157\160\x65\156"]["\x66\141\151\x6c\145\144"] = true; goto J2lTg; Ex9sp: if ($result) { goto bL1Dz; } goto a3bZs; RJU6j: if (!empty($chunk_total)) { goto MDATW; } goto lcADq; NKzGu: $header_array = get_headers($cdn_source_file, 1); goto DzSKp; sJHYO: Qd8qM: goto VPGLR; BOYOH: if (empty($result)) { goto tJUW2; } goto r5psM; uYKKE: $dbfile = IA_INSTALL_ROOT . "\x2f\144\141\164\x61\x2f\144\142\55\61\x2e\x78\56\160\150\x70"; goto AGtzp; i7l68: $data = we7_request_api(API_GET_CHUNK_PACKAGE, $post); goto piTDU; X_W3Q: $info = "\xe8\216\xb7\xe5\x8f\226\x61\143\143\x65\x73\163\x74\157\x6b\x65\x6e\xe5\244\xb1\xe8\264\245\xef\274\214\350\257\267\x20\x3c\141\40\x73\164\171\x6c\145\x3d\42\143\157\154\157\x72\x3a\43\63\62\x39\x36\x66\x61\x3b\x74\145\x78\x74\x2d\144\145\143\157\162\141\x74\x69\157\x6e\x3a\x6e\x6f\x6e\145\x22\x20\x68\162\x65\146\x3d" . $install_url . "\x3e\xe9\207\x8d\xe6\x96\260\347\x99\xbb\xe5\xbd\225\x3c\x2f\141\76\x20\343\200\202\74\x62\162\x3e" . ($error["\145\162\162\157\x72"] ? "\xe8\257\xa6\346\203\x85\357\274\232" . $error["\145\162\162\x6f\162"] : ''); goto fjMDq; OVBCo: DMuCJ: goto RYF1U; wAgKk: function we7_http_request($url, $post = array()) { goto eMdf1; fAFte: curl_setopt($ch, CURLOPT_HTTPHEADER, array("\130\x2d\x57\x65\x37\x2d\103\141\143\150\x65\72" . time())); goto EDx0c; fBoE3: return array("\145\x72\x72\x6e\157" => $errno, "\145\x72\162\x6f\162" => $error); goto YmGZl; sZZM2: curl_setopt($ch, CURLOPT_POSTFIELDS, $post); goto iE6Xe; wacWv: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60); goto NB9B0; N5Rdt: return we7_http_response_parse($data); goto fsgJ0; NB9B0: curl_setopt($ch, CURLOPT_TIMEOUT, 60); goto LHk1p; eetnC: curl_setopt($ch, CURLOPT_HEADER, 1); goto MtkuM; YmGZl: xq3a7: goto dlg71; CGlwT: curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER["\x48\124\x54\x50\137\125\x53\105\x52\x5f\x41\107\105\116\124"]); goto vjP2z; MtkuM: if (!$post) { goto b1i33; } goto rX_LU; L07ju: $errno = curl_errno($ch); goto zzFF0; danFQ: @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); goto eetnC; dX4XQ: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); goto CGlwT; rX_LU: curl_setopt($ch, CURLOPT_POST, 1); goto sZZM2; zzFF0: $error = curl_error($ch); goto h7j2j; JWsad: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); goto danFQ; IShLW: curl_setopt($ch, CURLOPT_URL, $url); goto JWsad; eMdf1: $ch = curl_init(); goto IShLW; vjP2z: $data = curl_exec($ch); goto L07ju; h7j2j: curl_close($ch); goto sGMZt; iE6Xe: curl_setopt($ch, CURLOPT_HTTPHEADER, array("\130\x2d\125\x73\145\x72\x2d\x49\x70\72" . get_client_ip())); goto fAFte; EDx0c: b1i33: goto wacWv; fsgJ0: goto xq3a7; goto I2XaV; sGMZt: if ($errno || empty($data)) { goto DRVn6; } goto N5Rdt; LHk1p: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); goto dX4XQ; I2XaV: DRVn6: goto fBoE3; dlg71: } goto WrX23; lBheL: $result = $result > 100 ? 100 : $result; goto Wziek; k0urI: function we7_get_accesstoken() { goto Qc6ue; Qc6ue: if (empty($_GET["\167\145\x37\151\x6e\163\x74\x61\x6c\x6c\x5f\x61\143\143\145\x73\163\164\157\153\145\x6e"])) { goto cOP_m; } goto JoX0e; mEcR9: cOP_m: goto uG2qw; eQH14: rawD2: goto PbBIt; TDwhE: if (!(!empty($accesstoken) && !empty($accesstoken["\x61\143\143\x65\163\163\137\x74\157\x6b\x65\x6e"]) && $accesstoken["\x65\x78\x70\x69\162\145\x5f\164\151\x6d\x65"] > time())) { goto rawD2; } goto F7qPv; PbBIt: return ''; goto BIZxA; JoX0e: return $_GET["\x77\x65\67\x69\156\x73\164\x61\154\154\137\x61\x63\x63\x65\x73\163\164\157\153\145\x6e"]; goto mEcR9; uG2qw: $accesstoken = we7_getcookie("\141\143\143\x65\x73\163\164\x6f\x6b\145\156"); goto TDwhE; F7qPv: return $accesstoken["\x61\x63\143\145\163\x73\137\164\x6f\x6b\145\156"]; goto eQH14; BIZxA: } goto P3NGy; FCP7s: we7_setcookie("\141\x63\x63\x65\163\x73\x74\157\x6b\145\156", $data); goto HfOMN; DzSKp: $source_size = $header_array["\x43\157\156\x74\x65\x6e\x74\55\114\x65\x6e\x67\x74\x68"]; goto erhZ4; otReV: tgh6n: goto pSC1h; mNubr: $error = json_decode($data["\x65\x72\x72\x6f\162"], true); goto PrFc3; OwFFN: kEKxc: goto uYKKE; GzRut: if (!(!file_exists(IA_INSTALL_ROOT . "\57\143\x68\x75\x6e\x6b\x5f" . $i) || empty($chunk_i_filesize))) { goto jxrPB; } goto ar3DT; D0dke: $is_https = $_SERVER["\x53\105\x52\x56\105\x52\x5f\x50\x4f\x52\x54"] == 443 || !empty($_SERVER["\110\124\x54\120\123"]) && strtolower($_SERVER["\x48\x54\124\x50\x53"]) != "\157\146\x66" || !empty($_SERVER["\x48\x54\124\x50\137\130\137\106\117\122\x57\x41\122\104\x45\104\x5f\120\x52\x4f\124\x4f"]) && strtolower($_SERVER["\x48\124\124\120\x5f\x58\x5f\x46\117\122\127\101\x52\104\x45\x44\137\120\x52\117\x54\x4f"]) == "\x68\x74\x74\160\163" || !empty($_SERVER["\x48\124\x54\120\x5f\x58\x5f\103\114\x49\x45\116\124\x5f\x53\103\110\x45\115\105"]) && strtolower($_SERVER["\110\124\124\120\x5f\x58\x5f\103\x4c\111\105\x4e\124\137\123\x43\x48\x45\x4d\105"]) == "\150\x74\164\160\163" || !empty($_SERVER["\x48\124\124\x50\x5f\x58\137\103\114\x49\x45\x4e\124\137\120\x52\x4f\124\117"]) && strtolower($_SERVER["\110\124\x54\120\x5f\130\137\x43\114\111\105\116\x54\137\120\x52\117\x54\117"]) == "\150\164\164\160\x73" ? true : false; goto CXcJn; e_zET: function we7_request_api($url, $post = array()) { goto fyqr1; brQJ9: wwAUj: goto AesGo; AesGo: if (!($response["\x63\x6f\144\145"] != 200 || isset($response["\145\x72\162\x6e\x6f"]))) { goto tUT1c; } goto Al6Le; Al6Le: return array("\x65\x72\x72\157\162" => $response["\143\x6f\156\x74\145\156\164"]); goto iYGls; gPwut: goto gvG8W; goto qAYIJ; s5l61: return array("\x65\x72\x72\157\162" => 401); goto brQJ9; qAYIJ: iMAen: goto yoY9C; yoY9C: return $result; goto YuS5t; IL1ZF: if (is_array($result)) { goto iMAen; } goto Mj4LU; YuS5t: gvG8W: goto fOlen; fyqr1: $response = we7_http_request($url, $post); goto T5Z_l; Mj4LU: return $response["\x63\157\156\x74\x65\x6e\164"]; goto gPwut; iYGls: tUT1c: goto heqyF; heqyF: $result = json_decode($response["\x63\x6f\156\164\145\156\164"], true); goto IL1ZF; T5Z_l: if (!($response["\x63\157\x64\x65"] == 401)) { goto wwAUj; } goto s5l61; fOlen: } goto Y3TNg; Ge4YX: WBnu1: goto flMc3; un34N: XhYdH: goto aZH28; sBCfd: $ret["\x76\145\162\163\151\x6f\156"]["\162\145\x73\x75\x6c\164"] = PHP_VERSION . "\357\xbc\x88\346\x9c\x80\xe4\xbd\216\xe8\246\201\346\261\x82\x35\56\x36\56\60\xef\274\x89"; goto HLLqj; kWMrK: touch(IA_INSTALL_ROOT . "\57\x64\x61\x74\x61\x2f\x69\156\163\x74\141\154\154\x2e\x6c\157\143\x6b"); goto oikEJ; M5AjR: foreach ($ret as $key => $value) { goto Ghoec; wPz2G: FrWP5: goto EWjY4; rZ0m3: goto jdAoV; goto wPz2G; Pozr0: jdAoV: goto oADEb; EWjY4: if (empty($value["\x66\141\x69\154\x65\x64"])) { goto RHlk1; } goto dhShP; Ghoec: if (!(version_compare(PHP_VERSION, "\x37\56\60\x2e\x30") >= 0 && in_array($key, array("\155\143\162\171\160\x74", "\x61\154\167\x61\x79\x73\x5f\160\157\x70\165\x6c\141\x74\x65\137\x72\x61\167\x5f\160\157\163\x74\137\144\x61\164\141")))) { goto FrWP5; } goto rZ0m3; dhShP: $value["\x68\141\156\144\154\145"] = !empty($value["\150\141\x6e\144\154\x65"]) ? $value["\150\141\x6e\144\x6c\x65"] : "\x68\x74\x74\x70\163\72\57\57\163\x2e\x77\x37\x2e\143\x63\x2f\167\157\57\x70\162\157\142\x6c\x65\155\x2f\64\x36"; goto CtaPw; CtaPw: $result[] = $value; goto YHWvC; YHWvC: RHlk1: goto Pozr0; oADEb: } goto Gmrls; Hk5fN: define("\101\120\x49\137\107\x45\124\137\x43\110\125\x4e\x4b\x5f\120\101\x43\x4b\x41\107\105", API_HOST . "\x2f\165\164\x69\x6c\x2f\160\141\143\153\x61\147\x65\57\151\156\x73\164\x61\154\154"); goto lz35K; R7GaN: $auth = @json_decode(base64_decode($post), true); goto Izzpg; qGKjT: define("\101\x50\111\x5f\x4f\101\x55\x54\x48\x5f\122\105\x53\x45\x54\x5f\123\x49\x54\105\111\116\x46\117", API_HOST . "\x2f\x73\151\x74\145\x2f\x72\x65\x67\x69\163\164\145\x72\57\160\x72\157\x66\151\154\x65"); goto dKL1m; mvqhb: we7_handle_chunk(); goto QZjjQ; a_X7q: exit(we7_error(400, $data["\145\x72\162\x6f\162"])); goto ngQIT; iTil6: aooiW: goto gSwdM; eGEoX: define("\111\101\x5f\x49\116\123\x54\x41\x4c\114\137\x52\x4f\117\x54", str_replace("\134", "\x2f", dirname(__FILE__))); goto cGggQ; hbfzP: if (!file_exists(IA_INSTALL_ROOT . "\57\x64\141\164\x61\57\x63\157\x6e\146\151\x67\56\x70\150\x70")) { goto lmjKe; } goto YEIne; UzzFN: exit(we7_error(0, "\163\x75\143\x63\145\x73\163")); goto Oh6c6; NRvoq: exit(we7_error(0, "\x73\165\x63\143\x65\x73\x73")); goto iTil6; tp744: exit(we7_error(433, "\141\143\x63\145\163\163\164\x6f\x6b\x65\156\x20\145\170\160\151\162\x65\x64\56")); goto NCspr; iGAfD: function handleError($code, $description, $file = null, $line = null) { goto GCaic; XCDZ9: $data = array("\144\141\x74\x65" => date("\131\55\x6d\x2d\144\x20\x48\x3a\151\72\163", time()), "\x6c\145\x76\x65\x6c" => $log, "\143\157\144\145" => $code, "\x65\162\x72\157\x72" => $error, "\x64\x65\x73\x63\x72\x69\x70\x74\x69\157\156" => $description, "\x66\x69\x6c\x65" => $file, "\154\151\156\145" => $line, "\155\x65\163\163\x61\x67\x65" => $error . "\40\50" . $code . "\51\x3a\40" . $description . "\40\x69\x6e\x20\x5b" . $file . "\x2c\x20\154\151\156\145\40" . $line . "\x5d"); goto Iu9yk; Iu9yk: return file_log($data); goto zx5dJ; GCaic: list($error, $log) = map_error_code($code); goto XCDZ9; zx5dJ: } goto BmtdI; iBmkD: if (feof($hostfile)) { goto OGJla; } goto qcUFa; P3NGy: function we7_handle_chunk() { goto caObT; e3I61: $zip = new ZipArchive(); goto xogVP; h_VEE: $zip->close(); goto nf3FW; FAfsI: $result = false; goto lZwIH; AfInT: $result = true; goto G6sqG; dyDif: rename(IA_INSTALL_ROOT . "\x2f\143\157\x6e\146\151\147\x2d\61\56\x78\x2e\x70\150\x70", IA_INSTALL_ROOT . "\x2f\144\141\x74\x61\x2f\x63\157\156\x66\x69\x67\x2e\160\150\160"); goto AfInT; jjTzc: foreach ($all_files as $file) { goto L2RPG; uTi1o: j3rH_: goto uUu3L; WO6il: mn9KF: goto JQawl; JWGXl: $all_data_files = glob(IA_INSTALL_ROOT . "\x2f\167\x37\x5f\160\x72\157\163\137\62\70\66\71\62\57\144\141\x74\141\x2f\52"); goto D1QJr; jg32E: hIJHd: goto JWGXl; U4Lgm: goto j3rH_; goto c_eju; c_eju: tWLIk: goto XgM94; JwsGl: goto Xk_lL; goto jg32E; oRn7a: rename($file, IA_INSTALL_ROOT . "\57" . $dir_or_file); goto JwsGl; D1QJr: foreach ($all_data_files as $data_file) { goto AcpRU; AcpRU: $data_dir_or_file = pathinfo($data_file, PATHINFO_BASENAME); goto K47f2; lNOnr: Gd9AN: goto b4uqi; K47f2: rename($data_file, IA_INSTALL_ROOT . "\x2f\x64\x61\164\x61\57" . $data_dir_or_file); goto lNOnr; b4uqi: } goto WO6il; mMSEb: if (!(strpos($file, "\x69\x6e\163\164\141\154\154\56\x70\150\x70") !== false)) { goto tWLIk; } goto U4Lgm; L2RPG: $dir_or_file = pathinfo($file, PATHINFO_BASENAME); goto mMSEb; JQawl: Xk_lL: goto uTi1o; XgM94: if ("\x64\x61\164\x61" == $dir_or_file && is_dir($file)) { goto hIJHd; } goto oRn7a; uUu3L: } goto Tndh2; keqow: $all_files = glob(IA_INSTALL_ROOT . "\57\x77\x37\137\160\x72\157\x73\137\x32\x38\x36\71\x32\x2f\x2a"); goto jjTzc; G6sqG: e8iue: goto HLF11; nf3FW: AXQxz: goto keqow; HLF11: return $result; goto CJjwv; caObT: $tmpfile = "\x2e\57\167\145\x37\163\157\x75\162\143\x65\56\172\151\x70"; goto FAfsI; xogVP: $res = $zip->open($tmpfile); goto Vk8hF; J7CpG: $zip->extractTo(IA_INSTALL_ROOT); goto h_VEE; lZwIH: if (!file_exists($tmpfile)) { goto e8iue; } goto e3I61; Vk8hF: if (!($res === true)) { goto AXQxz; } goto J7CpG; Tndh2: Zp4IS: goto dyDif; CJjwv: } goto qYXYk; XmMfQ: $ret["\x72\157\157\164"]["\x72\145\163\165\x6c\x74"] = "\346\x9c\254\345\x9c\260\347\233\xae\345\xbd\225\346\x97\240\xe6\xb3\x95\xe5\x86\x99\xe5\205\245"; goto kWGad; Kf3Lc: bt79R: goto aT1nB; u437g: $handle_result = we7_handle_chunk(); goto k8NQ2; ZjAcn: ini_set("\x64\x69\x73\160\154\141\171\x5f\145\x72\162\157\162\x73", 0); goto vfePM; HK51T: YqvYi: goto iGAfD; UWLT4: exit(we7_error(0, "\x73\x75\x63\143\x65\x73\x73")); goto un34N; SJxzC: if (!empty($server)) { goto OQj25; } goto aO6yJ; WSo0J: function we7_update_user($username, $password) { goto qC3PL; W4okw: return $result ? true : false; goto Dl7hA; BL9uP: $cookie["\150\141\163\150"] = md5($password . $userinfo["\163\141\154\x74"]); goto sKBVU; qC3PL: global $_W, $is_https; goto d0b11; OVExG: $userinfo = pdo_get("\165\x73\x65\162\x73", array("\165\x73\145\x72\156\141\155\x65" => "\x61\144\x6d\151\156")); goto M37R3; M37R3: $password = user_hash($password, $userinfo["\163\141\154\164"]); goto JhNky; lAZgR: $cookie = array("\154\141\163\164\x76\x69\163\151\164" => '', "\154\x61\x73\x74\151\x70" => ''); goto hn9BG; JhNky: $result = pdo_update("\x75\x73\145\162\x73", array("\165\163\145\162\x6e\x61\x6d\x65" => $username, "\x70\x61\163\x73\167\157\162\144" => $password), array("\165\x69\x64" => $userinfo["\165\x69\x64"])); goto lAZgR; h8_JF: $secure = $is_https ? 1 : 0; goto ElKLc; hn9BG: $cookie["\165\x69\144"] = $userinfo["\165\x69\x64"]; goto BL9uP; ElKLc: setcookie($_W["\143\157\x6e\x66\x69\147"]["\x63\x6f\x6f\x6b\151\145"]["\x70\x72\145"] . "\x5f\137\163\145\x73\x73\x69\x6f\x6e", $session, 0, "\57", '', $secure, true); goto W4okw; d0b11: load()->model("\x75\163\145\x72"); goto OVExG; sKBVU: $session = install_authcode(json_encode($cookie), "\x65\156\143\157\144\x65", $_W["\143\x6f\156\146\x69\x67"]["\163\x65\x74\164\x69\x6e\147"]["\x61\x75\x74\x68\x6b\145\x79"]); goto h8_JF; Dl7hA: } goto csTEV; H00ub: $filename = IA_INSTALL_ROOT . "\x2f\x63\150\x75\x6e\153\x5f" . $chunk_num; goto Z9xXm; pILCX: if (!empty($source_size)) { goto NKvFT; } goto NKzGu; GIUsP: H_Kjj: goto I4qkY; GqffK: u1a1D: goto r1rjD; fk7_r: if (!("\164\x6f\x75\x63\150" == $action)) { goto fTIfD; } goto UzzFN; LQUNv: if (is_array($data) && isset($data["\x65\162\162\157\x72"])) { goto xBdLa; } goto TJQ31; iBHQ6: if (empty($code)) { goto C9NUq; } goto uVxcw; DdP4O: gNLw7: goto Ys6mi; r5psM: exit(we7_error(434, $result)); goto fRxG2; kxb8M: exit(we7_error(419, $database_result)); goto E4Pdf; zgvS1: $db_username = trim($_POST["\x75\163\145\162\x6e\141\155\x65"]); goto tlnUI; pLyJJ: define("\x41\x50\111\137\123\111\x54\x45\137\122\x45\x47\111\123\x54\x45\x52\x5f\x45\130\x49\123\x54", API_HOST . "\57\163\x69\164\x65\x2f\x72\145\147\151\163\164\145\162\57\145\x78\x69\x73\x74"); goto DZk6X; KYqWu: $db = array("\163\x65\162\166\145\162" => $config["\144\x62"]["\155\141\x73\x74\145\x72"]["\150\x6f\x73\164"], "\160\x6f\162\x74" => $config["\144\142"]["\x6d\141\x73\164\145\x72"]["\x70\x6f\162\x74"], "\165\163\x65\162\x6e\141\155\x65" => $config["\x64\142"]["\x6d\141\x73\164\145\x72"]["\165\163\x65\x72\156\x61\x6d\x65"], "\x70\x61\x73\x73\167\157\162\144" => $config["\x64\x62"]["\155\141\163\164\x65\162"]["\x70\141\163\x73\x77\x6f\x72\144"], "\x70\x72\x65\x66\151\170" => $config["\144\142"]["\x6d\x61\163\164\x65\x72"]["\164\141\142\x6c\145\160\x72\145"], "\156\141\x6d\x65" => $config["\144\142"]["\x6d\x61\163\164\145\x72"]["\144\141\x74\141\x62\141\x73\x65"]); goto yYeTU; dmxgb: foreach ($ret as $key => $value) { goto KInOG; s1MUj: omqTq: goto QYxpz; Acuar: $result[] = $value; goto XhBO7; KInOG: if (empty($value["\x66\141\x69\x6c\145\x64"])) { goto DBLFF; } goto Acuar; XhBO7: DBLFF: goto s1MUj; QYxpz: } goto tK0xn; qSwlo: $ret["\141\154\x77\x61\171\163\137\x70\157\x70\x75\154\x61\x74\x65\137\x72\x61\167\137\x70\x6f\163\164\137\x64\141\164\141"]["\146\x61\151\154\145\144"] = @ini_get("\141\x6c\x77\x61\171\x73\137\160\157\160\165\154\141\164\145\x5f\162\141\x77\137\x70\x6f\x73\164\137\144\141\x74\141") != "\55\61"; goto XXqIr; cg2rC: $ret["\166\x65\x72\163\x69\x6f\x6e"]["\x66\x61\x69\x6c\145\x64"] = true; goto eoovG; QPJor: exit(we7_error(421, $handle_result)); goto GqffK; brg2x: $ret["\150\x74\x74\x70\163"]["\156\141\155\x65"] = "\346\x98\257\xe5\220\xa6\150\x74\164\x70\x73\345\xae\x89\350\xa3\205"; goto RRYob; m1wvZ: $username = trim(empty($_POST["\165\163\145\x72\x6e\x61\155\x65"]) ? '' : $_POST["\165\x73\x65\x72\x6e\x61\x6d\145"]); goto ZnVa7; aO6yJ: exit(we7_error(419, "\xe6\x95\xb0\346\215\xae\345\272\x93\xe4\xb8\xbb\xe6\234\xba\xe4\270\x8d\345\217\257\344\xb8\xba\347\xa9\272")); goto B3LZ1; MS00p: $ret["\150\x74\x74\x70\163"]["\x66\x61\151\154\x65\144"] = true; goto brg2x; zDrbe: if ($ret["\x64\141\164\141"]["\157\153"]) { goto E_W13; } goto QTXd3; MeU0H: $ret["\163\145\x73\x73\151\157\156"]["\156\x61\155\x65"] = "\163\145\x73\x73\151\x6f\x6e\56\141\165\164\157\x5f\163\x74\141\x72\164\345\274\200\345\x90\257"; goto k2N4i; YDbbu: define("\x41\120\111\137\110\117\123\124", "\150\x74\x74\160\x3a\57\57\x61\160\151\56\167\67\56\x63\143"); goto pLyJJ; rQyZd: dwQVD: goto DdP4O; JdO3E: if (!($action == "\x63\x68\x65\x63\153\x5f\x73\x69\x74\145")) { goto yPDXb; } goto A2vuv; gW2mN: yPDXb: goto wb0Jt; B3LZ1: OQj25: goto hAxj_; t1NRt: exit(we7_error(0, null)); goto eJ3pZ; rWSj2: $callback = urlencode($url); goto eNUWn; YIYxA: $sitename_result = we7_update_sitename($sitename); goto orDNC; eepIx: if (!empty($data) && $data["\163\164\141\164\x75\163"] == 1) { goto DMuCJ; } goto pbTRM; oX0Uw: if (empty($result)) { goto tgh6n; } goto dIw1g; fRxG2: tJUW2: goto zTZQI; qVM0f: function get_client_ip() { goto gqf8g; nGHRZ: $ip = $_SERVER["\122\105\x4d\x4f\124\x45\137\x41\104\x44\x52"]; goto uua98; RYJmh: if (isset($_SERVER["\110\124\124\120\137\103\114\111\105\x4e\x54\137\x49\120"])) { goto APshJ; } goto AsQjS; sIgqH: $ip = $_SERVER["\110\x54\x54\x50\x5f\103\104\x4e\137\123\x52\103\x5f\111\120"]; goto OJWUp; N3I8K: goto ZvpdM; goto xcsyC; OJWUp: goto cphrd; goto UALhn; stlQr: if (!isset($_SERVER["\122\x45\x4d\117\x54\105\x5f\101\x44\x44\122"])) { goto ADpT9; } goto nGHRZ; xcsyC: Ew3uI: goto IxoOO; wI2sX: ome2X: goto oJfJJ; UALhn: APshJ: goto rZN8Q; AsQjS: if (isset($_SERVER["\110\x54\x54\x50\x5f\x58\x5f\x46\x4f\122\127\101\x52\x44\x45\104\137\x46\117\x52"]) && preg_match_all("\x23\134\x64\173\61\x2c\x33\x7d\x5c\56\x5c\x64\173\x31\54\x33\175\x5c\x2e\x5c\144\x7b\x31\x2c\63\x7d\x5c\x2e\134\x64\173\x31\54\63\175\x23\x73", $_SERVER["\x48\x54\124\120\x5f\130\137\106\117\x52\127\x41\x52\104\x45\x44\x5f\106\117\x52"], $matches)) { goto ome2X; } goto jZYpm; IxoOO: return $ip; goto U9oAv; n3kDs: WBac1: goto sIgqH; B8IXA: VTkyU: goto pTek7; pTek7: cphrd: goto LmlR2; gqf8g: static $ip = ''; goto stlQr; uua98: ADpT9: goto ccHIy; rZN8Q: $ip = $_SERVER["\110\124\124\x50\137\103\x4c\111\105\x4e\x54\x5f\111\x50"]; goto LjZmz; U9oAv: ZvpdM: goto Vi4xs; C2uC6: return "\61\x32\67\x2e\60\56\x30\56\x31"; goto N3I8K; jZYpm: goto cphrd; goto n3kDs; ccHIy: if (isset($_SERVER["\110\124\x54\x50\x5f\x43\x44\116\x5f\x53\122\103\137\111\x50"])) { goto WBac1; } goto RYJmh; oJfJJ: foreach ($matches[0] as $xip) { goto TZ31l; HF3Eh: $ip = $xip; goto dVtq6; ZxFY1: wHcDJ: goto QFi1W; dVtq6: goto VTkyU; goto ZxFY1; TZ31l: if (preg_match("\43\x5e\50\61\x30\174\x31\67\x32\134\56\61\66\x7c\61\71\62\x5c\x2e\x31\66\70\51\134\56\43", $xip)) { goto wHcDJ; } goto HF3Eh; QFi1W: WRqKK: goto f6zQp; f6zQp: } goto B8IXA; LjZmz: goto cphrd; goto wI2sX; LmlR2: if (preg_match("\57\136\x28\x5b\x30\x2d\x39\135\173\61\54\x33\x7d\x5c\56\x29\x7b\x33\175\133\60\55\x39\x5d\173\61\54\63\175\x24\x2f", $ip)) { goto Ew3uI; } goto C2uC6; Vi4xs: } goto fTVsp; mMckH: bL1Dz: goto K2ter; SyQi9: DhssN: goto sT7Pk; wws2U: if (!($server["\165\x70\x6c\x6f\141\144"] == "\x75\156\153\156\157\167" || !strstr($server["\165\x70\x6c\x6f\141\144"], "\155"))) { goto ML0Y8; } goto fOlIC; mKjc5: if ($data["\x65\x72\x72\157\162"] == 401) { goto cCZSB; } goto a_X7q; lzWAn: if (file_exists(IA_INSTALL_ROOT . "\57\x64\x61\x74\141\57\144\142\56\154\x6f\x63\153")) { goto kgQ2N; } goto B2eEC; Ee_9a: PbE_C: goto gzx0T; cmxvx: $action = "\157\x61\165\164\150"; goto uDvlF; ltzql: function local_create_sql($schema, $local_create_sql) { goto yrHgD; WYTww: zB5lz: goto uhrrq; mlyGf: $engine = $local_create_sql ? $schema["\145\x6e\x67\x69\x6e\x65"] : "\x49\156\x6e\157\x44\x42"; goto JnB50; W0YJX: $sql = rtrim($sql, "\54"); goto J9TSw; uhrrq: foreach ($schema["\151\x6e\x64\x65\170\145\x73"] as $value) { goto dz3yT; y7wW9: JgQeb: goto Zdz0K; udL2Z: $sql .= "\x55\116\111\x51\x55\x45\40\x4b\x45\x59\x20\140{$value["\156\141\x6d\145"]}\140\40\50\140{$fields}\140\x29\x2c\xa"; goto eJwbz; N6m1P: if (!($value["\x74\171\x70\x65"] == "\151\x6e\144\145\x78")) { goto JgQeb; } goto z2SlW; yW12y: $sql .= "\x50\122\111\115\x41\x52\x59\40\113\x45\131\x20\50\x60{$fields}\x60\51\54\12"; goto mNPP3; EfOOn: rCjYv: goto w39ke; dz3yT: $fields = implode("\140\54\140", $value["\146\151\145\154\144\163"]); goto N6m1P; z2SlW: $sql .= "\x4b\x45\x59\x20\140{$value["\156\141\x6d\x65"]}\x60\x20\x28\x60{$fields}\x60\51\54\12"; goto y7wW9; eJwbz: i00qH: goto TwSF9; Zdz0K: if (!($value["\x74\171\160\x65"] == "\x75\156\x69\161\165\x65")) { goto i00qH; } goto udL2Z; TwSF9: if (!($value["\x74\171\x70\145"] == "\160\162\x69\155\141\162\x79")) { goto vAFPR; } goto yW12y; mNPP3: vAFPR: goto EfOOn; w39ke: } goto yT1rS; yOq1s: return $sql; goto ouM0t; yT1rS: zS2aG: goto Bo8o1; w3BJS: foreach ($schema["\146\x69\x65\x6c\x64\163"] as $value) { goto LFydO; yVbY3: $length = "\x28{$value["\154\145\x6e\147\x74\x68"]}\x29"; goto F6Kzd; p10vg: YJn_5: goto P_IVb; G4Z8d: $length = ''; goto xbFPd; ET0eA: $default = "\x20\x44\x45\106\101\125\114\x54\x20\x27" . $value["\144\x65\146\x61\165\154\x74"] . "\47"; goto p10vg; xtbXm: $default = ''; goto flaKH; OYKEr: f5cH1: goto ET0eA; IQMqQ: if (isset($value["\x64\x65\146\x61\165\154\x74"])) { goto f5cH1; } goto xtbXm; x9V0k: goto up2pT; goto PTFIk; SlpTd: up2pT: goto GPvlL; F6Kzd: s4CPV: goto SvngN; sLmSM: goto eklyV; goto z1Tye; GPvlL: $sql .= "\x60{$value["\156\x61\155\x65"]}\x60\40{$value["\x74\171\160\145"]}{$length}{$signed}{$null}{$default}{$increment}\54\12"; goto pWgnK; Eu91K: $increment = "\40\x41\125\124\x4f\137\111\x4e\x43\x52\105\115\105\116\124"; goto SlpTd; xbFPd: goto s4CPV; goto jQ0MS; flaKH: goto YJn_5; goto OYKEr; P_IVb: if ($value["\x69\156\143\162\x65\155\x65\156\164"]) { goto mzZKr; } goto hRPNC; jQ0MS: loBZY: goto yVbY3; dtOnF: eklyV: goto IQMqQ; PTFIk: mzZKr: goto Eu91K; pWgnK: eNCUX: goto JOanx; SvngN: $signed = empty($value["\x73\151\147\x6e\x65\144"]) ? "\x20\x75\156\x73\x69\x67\156\x65\x64" : ''; goto XP3cu; z1Tye: VhU9R: goto UZSla; zTnhl: $null = ''; goto sLmSM; XP3cu: if (empty($value["\156\x75\154\x6c"])) { goto VhU9R; } goto zTnhl; UZSla: $null = "\40\x4e\117\x54\x20\116\125\114\114"; goto dtOnF; LFydO: if (!empty($value["\x6c\145\x6e\x67\x74\x68"])) { goto loBZY; } goto G4Z8d; hRPNC: $increment = ''; goto x9V0k; JOanx: } goto WYTww; Bo8o1: $sql = rtrim($sql); goto W0YJX; yrHgD: $pieces = explode("\137", $schema["\x63\150\141\162\x73\145\x74"]); goto nKzTq; JnB50: $sql = "\x43\x52\105\x41\x54\105\40\124\101\x42\x4c\x45\x20\111\106\40\116\x4f\x54\40\x45\130\111\123\124\123\40\x60{$schema["\x74\x61\142\x6c\145\156\141\155\145"]}\x60\40\50\12"; goto w3BJS; J9TSw: $sql .= "\xa\51\40\105\x4e\107\x49\x4e\x45\x3d{$engine}\40\104\x45\106\x41\125\x4c\124\x20\103\x48\x41\122\x53\105\124\75{$charset}\40\122\117\127\x5f\106\117\x52\x4d\101\x54\75\x44\131\x4e\x41\x4d\x49\x43\73\12\12"; goto yOq1s; nKzTq: $charset = $pieces[0]; goto mlyGf; ouM0t: } goto I46gn; wb0Jt: if (!($action == "\x6f\x61\165\164\x68")) { goto gNLw7; } goto eCSim; ikiZN: tKMWW: goto zBiHu; ri2bP: exit(we7_error(0, $chunk_num)); goto AnAmg; JYaKi: $action = in_array($action, $actions) ? $action : ''; goto fk7_r; HWcGR: $ret["\144\x6f\155"]["\x72\x65\x73\x75\154\x74"] = "\xe6\xb2\xa1\346\234\211\345\x90\xaf\xe7\x94\250\x44\x4f\x4d\104\x6f\x63\x75\155\x65\156\x74"; goto n6n34; fjMDq: exit(we7_error_page($info)); goto V4YBC; FtuCn: require IA_INSTALL_ROOT . "\x2f\x64\141\x74\x61\57\x63\157\156\x66\x69\147\x2e\x70\x68\160"; goto KYqWu; O6HIi: touch(IA_INSTALL_ROOT . "\57\144\x61\x74\x61\57\144\x62\x2e\154\x6f\x63\x6b"); goto DTRsE; dIw1g: exit(we7_error(434, $result)); goto v7Tn5; lgR5q: function local_salt($length = 8) { goto D_0eU; D_0eU: $strs = "\101\x42\x43\x44\x45\106\107\x48\111\112\x4b\114\x4d\x4e\x4f\x50\x51\x52\x53\x54\125\126\x57\130\131\132\141\x62\x63\x64\x65\x66\147\x68\x69\x6a\153\154\x6e\x6d\x6f\160\x71\162\163\164\165\x76\x77\170\x79\172\60\x31\x32\63\64\65\66\x37\70\71"; goto rrLqp; z84O3: return $result; goto MQ9MY; rrLqp: $result = substr(str_shuffle($strs), mt_rand(0, strlen($strs) - ($length + 1)), $length); goto z84O3; MQ9MY: } goto eBfd_; a1Adz: foreach (we7_need_extension() as $extension) { goto MWu1b; xw8hM: $ret[$extension]["\x6e\x61\155\145"] = $extension . "\346\x89\251\345\xb1\225"; goto W1uCv; W1uCv: $ret[$extension]["\x72\x65\x73\165\154\164"] = "\344\270\215\346\224\xaf\xe6\x8c\201" . $extension; goto G8jjW; MWu1b: $if_ok = extension_loaded($extension); goto VD3zk; QtWu0: t5htK: goto KIf_C; JRFOi: $ret[$extension]["\146\141\x69\x6c\x65\144"] = true; goto xw8hM; VD3zk: if ($if_ok) { goto nazda; } goto JRFOi; G8jjW: nazda: goto QtWu0; KIf_C: } goto G8EMh; E4Pdf: xxSJE: goto OwFFN; RELiN: exit(we7_error(400, "\xe5\277\x85\xe9\241\273\350\276\223\xe5\x85\245\xe7\x94\250\346\x88\xb7\xe5\x90\215\357\274\214\xe6\240\274\xe5\xbc\217\344\xb8\272\x20\63\x2d\x31\65\40\344\xbd\x8d\345\xad\x97\xe7\254\xa6\357\xbc\214\xe5\217\257\344\xbb\245\xe5\214\x85\346\x8b\xac\346\xb1\x89\345\255\x97\343\x80\x81\xe5\xad\227\346\257\x8d\xef\xbc\210\344\270\x8d\345\214\xba\xe5\210\206\345\244\xa7\xe5\xb0\x8f\xe5\206\x99\357\274\x89\xe3\200\x81\346\x95\xb0\xe5\xad\x97\xe3\x80\201\344\270\x8b\345\x88\x92\347\xba\277\345\222\214\xe5\x8f\xa5\xe7\202\xb9\343\x80\202")); goto VSRox; rDlCt: $password = safe_check_password($password); goto w1W3L; f0Ozy: if (safe_gpc_string($username)) { goto lxqkN; } goto RELiN; bjjgS: if ($ret["\150\164\x74\160\x73"]["\157\153"]) { goto HY0gK; } goto MS00p; HfOMN: header("\114\x6f\143\x61\164\151\x6f\x6e\x3a\40" . $siteroot . "\x2f\x69\156\163\x74\141\154\154\x2e\160\150\x70\77\143\150\x65\143\153\75\x31"); goto oaM3W; uDvlF: R1kNT: goto JdO3E; scgQP: exit(we7_error(421, "\345\xae\211\xe8\243\x85\345\214\x85\344\xb8\215\345\xae\x8c\346\x95\264\343\x80\x82")); goto uUQ6i; zpW1b: require IA_INSTALL_ROOT . "\57\x66\162\141\x6d\x65\x77\157\x72\x6b\57\142\x6f\157\164\x73\x74\162\141\160\56\x69\x6e\143\x2e\160\x68\160"; goto HSRSz; aT1nB: if (!("\117\x50\x54\x49\x4f\x4e\123" == $_SERVER["\x52\x45\x51\x55\x45\x53\124\x5f\x4d\105\x54\x48\x4f\104"])) { goto PPms0; } goto t1NRt; cGggQ: define("\111\116\x53\x54\x41\114\114\137\x56\105\122\123\x49\x4f\116", "\x31\x2e\x34"); goto YDbbu; HCM2M: if (!($action == "\147\x65\x74\137\x63\157\x6e\146\151\147")) { goto A7R6I; } goto hbfzP; Vei_0: header("\143\x6f\156\x74\x65\x6e\164\x2d\x74\x79\160\x65\72\164\145\x78\x74\57\x68\x74\155\x6c\x3b\x63\x68\141\162\x73\145\164\x3d\x75\x74\146\55\x38"); goto odkpe; i5mWP: if (!($action == "\x64\x6f\x77\156\x6c\x6f\x61\144\137\x70\x65\x72\x63\x65\156\x74")) { goto Z2g2M; } goto GLc96; CXcJn: $sitepath = substr($_SERVER["\x50\110\x50\137\123\x45\114\x46"], 0, strrpos($_SERVER["\x50\110\x50\137\123\x45\x4c\x46"], "\x2f")); goto q866X; ts7wG: exit(we7_error(430, $register_site_result)); goto i196e; MeAg1: if (we7_network_enable($host)) { goto Qd8qM; } goto mXnhH; eBfd_: function local_config() { $cfg = "\74\x3f\160\150\160\12\144\x65\146\151\x6e\x65\144\50\x27\x49\x4e\x5f\111\x41\x27\x29\40\157\x72\40\145\x78\x69\x74\50\x27\x41\x63\143\145\x73\x73\40\x44\145\x6e\151\145\144\x27\x29\73\12\12\x24\x63\x6f\156\146\x69\x67\40\75\40\x61\x72\162\141\171\50\51\73\12\12\44\143\157\x6e\x66\151\147\x5b\x27\x64\142\x27\x5d\133\x27\155\x61\x73\x74\145\x72\47\135\133\x27\x68\157\163\164\47\135\x20\75\x20\x27\173\104\x42\x5f\x48\x4f\x53\124\175\x27\x3b\xa\x24\143\157\x6e\x66\151\147\x5b\47\144\x62\x27\x5d\133\x27\x6d\141\x73\164\x65\x72\x27\x5d\x5b\47\x75\163\145\162\x6e\x61\155\x65\47\135\x20\x3d\x20\x27\173\104\x42\137\x55\x53\x45\x52\116\x41\x4d\x45\x7d\x27\x3b\12\44\143\x6f\156\146\151\147\x5b\x27\144\x62\x27\x5d\133\47\155\x61\x73\x74\x65\x72\47\x5d\133\47\160\x61\163\x73\167\x6f\162\x64\47\x5d\x20\75\x20\47\x7b\x44\x42\x5f\x50\x41\x53\123\127\x4f\x52\104\x7d\x27\73\xa\x24\x63\x6f\x6e\x66\x69\147\x5b\47\144\x62\x27\135\x5b\x27\155\141\163\164\x65\x72\47\135\133\x27\160\157\x72\x74\47\x5d\40\x3d\40\x27\x7b\104\102\x5f\x50\x4f\x52\124\175\47\x3b\12\x24\143\x6f\156\146\x69\147\133\x27\144\142\47\135\x5b\47\x6d\141\x73\164\145\162\x27\135\133\47\x64\x61\164\x61\x62\x61\163\145\x27\x5d\x20\75\40\x27\x7b\x44\x42\137\x44\101\x54\x41\102\101\x53\x45\175\x27\x3b\xa\x24\x63\157\156\x66\151\x67\x5b\47\x64\x62\47\x5d\x5b\47\155\141\163\164\145\x72\47\135\133\x27\x63\x68\x61\x72\x73\x65\x74\x27\x5d\40\x3d\x20\x27\x75\164\146\70\47\73\12\44\143\157\x6e\146\x69\147\x5b\x27\144\142\x27\135\133\x27\x6d\141\x73\164\145\x72\x27\135\133\x27\160\143\x6f\156\x6e\x65\x63\164\47\x5d\40\x3d\x20\60\73\12\x24\143\x6f\x6e\x66\151\x67\x5b\x27\144\142\x27\x5d\133\47\x6d\x61\x73\164\145\162\47\x5d\133\47\x74\x61\142\154\x65\x70\x72\145\x27\x5d\40\75\x20\x27\x7b\x44\102\x5f\124\x41\102\114\x45\x50\122\x45\175\47\73\12\12\44\143\157\x6e\146\151\147\133\x27\144\142\47\135\x5b\x27\x73\154\x61\166\x65\137\163\164\x61\x74\x75\163\47\135\x20\75\40\x66\141\x6c\163\x65\x3b\12\x24\x63\x6f\x6e\146\x69\147\x5b\47\x64\x62\47\x5d\133\x27\163\154\x61\x76\145\47\135\x5b\47\61\47\135\x5b\x27\150\x6f\163\164\x27\135\40\75\40\47\47\x3b\12\x24\x63\157\x6e\146\x69\147\133\47\144\142\x27\135\x5b\x27\163\x6c\141\166\145\47\135\133\x27\x31\47\x5d\x5b\x27\165\163\145\x72\x6e\141\x6d\145\x27\135\40\x3d\x20\47\x27\x3b\12\x24\x63\x6f\156\146\151\147\133\47\144\142\47\135\133\x27\163\154\141\166\x65\x27\135\x5b\47\x31\47\x5d\x5b\47\x70\x61\163\x73\x77\x6f\162\x64\x27\135\x20\x3d\x20\x27\x27\x3b\12\x24\143\x6f\x6e\x66\151\x67\x5b\x27\x64\x62\47\135\x5b\x27\x73\x6c\141\x76\145\x27\x5d\x5b\x27\61\x27\135\133\47\160\157\x72\164\47\x5d\40\x3d\40\47\x33\x33\x30\x37\47\73\xa\x24\x63\157\156\x66\x69\147\133\47\144\x62\47\x5d\133\47\163\x6c\x61\x76\145\x27\135\x5b\x27\61\47\135\x5b\x27\144\x61\164\x61\x62\141\x73\x65\47\135\x20\x3d\x20\47\47\73\xa\44\143\x6f\156\x66\151\x67\x5b\x27\x64\142\x27\x5d\133\x27\x73\154\x61\x76\145\x27\135\133\47\x31\x27\135\x5b\x27\143\x68\x61\162\163\x65\x74\x27\135\x20\75\40\x27\165\x74\146\70\47\73\12\44\x63\x6f\x6e\x66\151\147\133\47\144\x62\47\x5d\133\x27\x73\x6c\x61\166\x65\x27\x5d\x5b\47\61\x27\135\133\x27\160\x63\x6f\x6e\156\x65\x63\164\x27\x5d\40\75\40\60\x3b\12\44\x63\157\156\146\x69\x67\x5b\x27\x64\x62\x27\135\x5b\47\x73\x6c\141\x76\145\x27\135\133\47\x31\47\x5d\x5b\47\x74\141\142\154\x65\x70\x72\145\47\x5d\x20\x3d\40\x27\151\x6d\x73\x5f\x27\x3b\xa\x24\143\157\x6e\x66\x69\x67\133\x27\144\142\x27\x5d\x5b\x27\163\154\141\166\145\47\x5d\x5b\x27\x31\47\135\133\x27\x77\145\151\x67\x68\164\x27\135\40\x3d\40\x30\x3b\xa\xa\x24\x63\157\x6e\146\151\147\x5b\x27\x64\x62\47\135\x5b\x27\143\157\x6d\x6d\x6f\156\x27\135\133\x27\x73\x6c\141\x76\x65\137\x65\170\143\x65\160\x74\x5f\x74\x61\x62\154\x65\47\x5d\40\x3d\40\x61\162\162\x61\x79\x28\x27\143\x6f\x72\x65\x5f\163\x65\163\x73\x69\157\x6e\163\x27\51\73\xa\12\57\x2f\x20\55\x2d\x2d\x2d\x2d\x2d\55\x2d\x2d\55\x2d\55\x2d\55\x2d\55\55\55\55\55\55\55\x2d\55\x2d\55\40\40\103\117\116\x46\111\107\40\x43\117\117\x4b\x49\105\x20\x20\x2d\x2d\x2d\55\x2d\x2d\55\55\55\x2d\x2d\x2d\x2d\x2d\x2d\55\55\x2d\55\55\55\55\x2d\55\55\55\x2d\40\x2f\x2f\xa\44\x63\x6f\156\x66\151\147\x5b\x27\x63\157\157\x6b\x69\145\x27\x5d\x5b\47\x70\x72\x65\x27\x5d\x20\75\40\x27\173\x43\117\x4f\113\111\105\x50\122\x45\x7d\x27\x3b\xa\x24\143\x6f\156\146\151\147\133\47\143\157\x6f\x6b\x69\x65\47\135\133\x27\144\x6f\155\141\x69\156\x27\x5d\x20\x3d\x20\x27\x27\73\xa\x24\x63\157\156\x66\151\147\x5b\x27\143\x6f\157\153\x69\145\x27\135\133\47\160\141\x74\150\47\135\x20\75\x20\47\x2f\x27\x3b\xa\xa\x2f\57\40\55\55\55\x2d\55\x2d\x2d\x2d\x2d\55\55\55\55\55\55\x2d\55\55\x2d\x2d\55\55\x2d\55\55\x2d\x20\40\x43\117\x4e\x46\x49\x47\40\x53\105\x54\x54\111\116\x47\40\x20\x2d\55\x2d\55\x2d\55\x2d\x2d\55\55\x2d\x2d\x2d\55\55\x2d\x2d\55\x2d\x2d\x2d\55\55\55\55\x2d\x2d\40\x2f\57\12\x24\143\157\156\146\x69\147\x5b\47\163\x65\164\164\151\156\x67\x27\x5d\133\x27\x63\x68\x61\162\163\x65\x74\x27\135\40\75\40\x27\x75\164\x66\x2d\70\x27\73\xa\x24\x63\157\x6e\146\151\x67\133\47\x73\x65\x74\x74\x69\x6e\147\47\135\x5b\47\x63\141\x63\150\145\47\135\40\x3d\x20\x27\155\x79\x73\x71\154\47\x3b\xa\44\x63\x6f\x6e\x66\151\147\x5b\x27\163\145\x74\x74\x69\156\x67\47\x5d\x5b\47\164\151\x6d\x65\x7a\157\156\x65\47\135\x20\75\x20\47\101\163\151\x61\57\x53\x68\x61\x6e\147\x68\x61\151\x27\x3b\xa\44\x63\x6f\x6e\146\151\147\133\x27\x73\145\164\x74\151\x6e\147\47\135\133\x27\155\x65\155\x6f\x72\x79\x5f\154\x69\x6d\x69\164\x27\x5d\40\x3d\x20\47\x32\65\66\115\47\73\12\x24\x63\157\x6e\146\x69\147\133\x27\163\145\164\164\151\x6e\x67\47\135\x5b\x27\146\x69\154\145\x6d\x6f\x64\x65\47\135\x20\75\40\x30\66\64\x34\73\12\x24\143\x6f\x6e\146\151\x67\x5b\47\x73\145\x74\164\x69\x6e\x67\47\135\133\47\x61\x75\x74\150\153\145\171\47\135\40\75\x20\x27\173\101\x55\124\x48\x4b\105\x59\x7d\x27\73\xa\44\143\157\156\x66\x69\147\133\x27\x73\145\164\164\151\x6e\x67\x27\135\x5b\47\146\157\165\156\x64\145\x72\47\135\x20\75\40\x27\x31\x27\73\xa\x24\143\x6f\156\146\x69\147\133\x27\x73\145\164\164\x69\156\147\x27\x5d\x5b\47\144\x65\166\145\x6c\157\x70\x6d\145\156\x74\47\135\40\x3d\40\60\73\xa\x24\143\x6f\x6e\x66\151\147\x5b\x27\163\145\164\164\151\156\147\x27\x5d\x5b\47\x72\x65\146\x65\x72\162\145\162\47\135\x20\75\40\60\x3b\xa\xa\57\x2f\x20\55\55\x2d\55\x2d\x2d\x2d\55\x2d\55\55\55\x2d\55\55\x2d\55\x2d\55\55\x2d\55\x2d\x2d\55\x2d\x20\40\x43\117\116\x46\x49\x47\x20\x55\x50\x4c\x4f\101\104\40\x20\55\x2d\55\55\55\55\x2d\55\55\x2d\x2d\x2d\55\55\x2d\x2d\55\55\x2d\x2d\55\x2d\x2d\55\55\x2d\x2d\x20\x2f\x2f\12\44\143\x6f\x6e\x66\x69\147\x5b\x27\x75\x70\x6c\x6f\x61\x64\47\x5d\133\47\x69\x6d\x61\x67\x65\47\x5d\133\47\x65\170\x74\x65\x6e\164\x69\157\156\x73\47\x5d\40\75\x20\141\x72\162\x61\171\50\47\147\151\x66\47\54\40\x27\152\160\147\47\x2c\x20\x27\152\160\145\x67\x27\x2c\40\47\160\156\x67\x27\x29\73\xa\44\143\157\x6e\x66\x69\147\x5b\47\165\160\x6c\157\141\144\47\135\x5b\47\x69\155\x61\147\145\x27\x5d\x5b\x27\x6c\151\155\151\x74\x27\x5d\40\x3d\40\x35\x30\60\x30\73\xa\x24\x63\157\x6e\x66\x69\x67\133\x27\x75\160\154\157\141\x64\47\135\x5b\x27\x61\164\164\141\x63\150\x64\151\x72\47\135\x20\x3d\40\x27\141\x74\164\141\143\x68\x6d\x65\x6e\164\47\x3b\xa\x24\x63\157\x6e\x66\x69\147\x5b\47\165\160\x6c\x6f\x61\144\47\x5d\x5b\x27\x61\x75\144\151\157\47\135\133\x27\145\170\164\x65\x6e\x74\x69\157\156\x73\47\x5d\x20\x3d\x20\x61\x72\162\x61\171\50\47\155\160\63\47\x29\73\xa\x24\x63\157\156\x66\151\x67\133\x27\165\160\x6c\157\x61\x64\x27\x5d\x5b\47\141\165\144\x69\x6f\47\135\133\47\154\151\155\x69\164\x27\x5d\40\75\40\65\60\x30\60\73\xa\xa\57\x2f\x20\x2d\x2d\x2d\x2d\x2d\55\55\55\x2d\x2d\x2d\55\x2d\55\55\x2d\55\55\x2d\x2d\55\x2d\55\55\55\x2d\x20\40\x43\117\x4e\106\111\107\40\x52\105\x44\x49\123\40\x20\x2d\x2d\55\x2d\55\55\x2d\x2d\55\x2d\x2d\55\x2d\x2d\55\55\55\55\55\55\x2d\x2d\x2d\x2d\55\x2d\55\40\57\57\12\x24\x63\x6f\x6e\x66\x69\147\x5b\47\163\x65\164\x74\x69\156\147\47\135\x5b\x27\162\x65\x64\151\x73\47\x5d\x5b\47\x73\145\x72\166\145\162\47\135\x20\x3d\x20\x20\x27\x27\x3b\12\x24\143\x6f\x6e\146\151\x67\133\x27\x73\145\164\x74\x69\x6e\x67\x27\135\x5b\47\162\145\144\x69\x73\x27\x5d\133\x27\160\x6f\x72\x74\x27\x5d\x20\x3d\x20\x36\63\x37\x39\73\xa\44\143\157\x6e\146\x69\147\133\x27\163\x65\164\164\151\x6e\x67\x27\135\133\47\162\145\x64\151\163\47\x5d\133\47\160\x63\x6f\156\156\x65\x63\x74\47\135\40\x3d\40\61\73\xa\x24\143\157\156\x66\x69\x67\x5b\x27\163\145\164\x74\151\x6e\147\47\x5d\133\x27\162\145\144\151\163\47\135\x5b\x27\164\x69\155\x65\x6f\x75\164\x27\135\x20\75\x20\x33\60\73\12\44\143\157\x6e\x66\x69\x67\133\x27\163\145\164\164\x69\156\x67\47\135\x5b\x27\x72\145\144\151\163\x27\x5d\133\x27\x73\x65\163\163\x69\157\x6e\x27\x5d\40\x3d\40\61\73\12\44\143\157\x6e\x66\x69\147\x5b\47\163\x65\164\164\151\156\x67\47\135\133\x27\162\x65\x64\151\x73\47\x5d\133\47\x61\165\x74\150\x27\x5d\40\x3d\x20\47\x27\73\xa\12\57\57\40\x2d\55\55\55\x2d\55\55\x2d\x2d\55\x2d\x2d\x2d\x2d\x2d\55\x2d\x2d\x2d\x2d\x2d\x2d\55\x2d\x2d\55\40\x20\103\117\x4e\106\111\x47\40\115\x45\x4d\103\101\103\110\105\40\x20\55\x2d\55\55\55\55\x2d\55\55\55\x2d\x2d\55\55\55\x2d\55\x2d\x2d\x2d\55\55\x2d\x2d\55\55\x2d\x20\x2f\x2f\12\44\143\157\x6e\146\x69\147\x5b\x27\163\x65\x74\x74\151\156\x67\x27\x5d\x5b\x27\155\x65\155\143\141\x63\150\x65\x27\x5d\x5b\47\x73\145\x72\x76\145\162\x27\x5d\40\x3d\40\x27\47\73\xa\44\143\157\x6e\x66\151\147\x5b\x27\x73\x65\164\164\x69\x6e\147\47\135\133\47\x6d\145\155\x63\141\x63\x68\x65\47\135\133\47\x70\157\162\164\47\135\40\x3d\x20\61\61\62\61\61\73\12\44\x63\x6f\156\146\x69\147\x5b\x27\x73\x65\x74\x74\151\156\x67\47\135\x5b\47\155\x65\155\143\141\143\150\x65\47\x5d\x5b\x27\x70\143\x6f\156\x6e\145\143\x74\47\x5d\40\x3d\40\x31\x3b\12\44\x63\x6f\x6e\146\151\147\133\47\163\145\164\x74\151\156\147\x27\x5d\x5b\47\155\145\x6d\x63\141\143\x68\x65\x27\x5d\x5b\x27\x74\x69\155\x65\157\x75\x74\x27\135\40\x3d\x20\63\x30\x3b\12\x24\143\x6f\x6e\146\151\147\133\47\163\x65\164\164\x69\x6e\147\47\x5d\133\x27\x6d\x65\155\x63\141\143\150\x65\47\x5d\133\x27\x73\145\x73\163\151\157\156\47\x5d\x20\75\40\61\x3b\12\xa\57\57\40\55\x2d\x2d\x2d\55\x2d\55\55\55\55\55\x2d\55\55\x2d\x2d\x2d\55\x2d\x2d\55\55\55\55\x2d\55\40\x20\x43\117\116\x46\x49\107\x20\120\122\x4f\x58\x59\40\x20\55\x2d\55\55\55\55\x2d\x2d\55\x2d\x2d\x2d\x2d\x2d\55\55\55\x2d\x2d\x2d\x2d\x2d\55\x2d\x2d\x2d\55\40\57\x2f\12\44\x63\x6f\156\146\x69\x67\x5b\x27\163\x65\164\x74\151\x6e\x67\47\x5d\133\x27\x70\162\157\170\171\x27\x5d\x5b\x27\150\x6f\163\164\47\135\x20\75\x20\x27\x27\x3b\xa\x24\x63\x6f\x6e\146\x69\147\x5b\47\163\145\x74\x74\x69\x6e\x67\x27\x5d\133\x27\160\x72\x6f\x78\171\47\x5d\133\x27\141\x75\164\x68\x27\x5d\40\x3d\40\x27\47\73"; return trim($cfg); } goto QEiwi; ZyCGT: $host = strpos($_SERVER["\x48\124\124\x50\x5f\x48\117\123\124"], "\72") ? parse_url($_SERVER["\x48\124\x54\120\137\x48\x4f\123\x54"], PHP_URL_HOST) : $_SERVER["\110\x54\124\x50\x5f\x48\117\x53\124"]; goto MeAg1; rjGw_: lmjKe: goto F0BVj; g4hJm: function we7_network_enable($host) { goto G30Lv; i3Mn3: $httphost_is_ip = preg_match("\x2f\136\50\61\x5c\x64\x7b\x32\175\174\x32\133\60\x2d\64\x5d\x5c\144\174\62\x35\133\x30\x2d\x35\x5d\x7c\x5b\x31\55\71\x5d\134\144\174\x5b\x31\x2d\71\x5d\x29\134\56\x28\x31\134\144\173\62\175\x7c\62\133\60\x2d\x34\x5d\134\144\x7c\62\65\133\x30\55\65\x5d\174\133\x31\55\x39\x5d\x5c\x64\174\x5c\x64\51\x5c\x2e\50\61\134\x64\173\x32\x7d\x7c\62\x5b\x30\55\64\135\x5c\144\174\x32\x35\x5b\x30\55\65\x5d\174\133\61\x2d\71\135\134\144\x7c\134\144\51\x5c\x2e\x28\61\x5c\144\173\62\x7d\x7c\62\133\x30\55\x34\x5d\x5c\x64\174\x32\65\133\x30\x2d\x35\135\174\x5b\x31\55\x39\x5d\x5c\144\x7c\x5c\144\51\44\x2f", $host); goto DM6C0; v9YCo: return false; goto JSgtB; bnHth: if (!$if_local_network192) { goto YygJc; } goto v9YCo; jVS48: return false; goto gXC2p; TaxgE: ChzI1: goto YM_Fc; Vgpad: $if_local_network192 = preg_match("\x2f\x5e\x31\71\x32\x5c\x2e\61\x36\70\134\x2e\50\61\x5c\x64\173\x32\x7d\x7c\x32\133\x30\55\x34\x5d\x5c\x64\x7c\62\x35\133\60\55\65\x5d\174\x5b\x31\55\71\135\x5c\144\x7c\x5c\144\x29\134\56\x28\x31\x5c\x64\x7b\62\x7d\174\x32\133\x30\55\x34\135\x5c\144\174\62\x35\133\60\55\x35\x5d\174\x5b\x31\55\x39\135\134\144\x7c\134\x64\x29\x24\57", $host); goto P0hQ6; Rm7hc: $if_local_network192 = preg_match("\x2f\x5e\x31\x39\62\134\56\61\x36\x38\x5c\56\50\61\x5c\x64\x7b\x32\175\174\x32\x5b\60\55\x34\x5d\134\x64\x7c\62\x35\133\x30\55\x35\x5d\x7c\133\61\55\x39\135\x5c\144\x7c\134\x64\x29\x5c\x2e\50\61\x5c\144\x7b\62\175\174\x32\133\x30\55\64\x5d\134\x64\174\62\65\133\x30\55\65\135\174\133\61\55\x39\135\134\x64\x7c\x5c\x64\51\x24\57", $dns_record[0]["\x69\x70"]); goto bnHth; XiR1k: return false; goto Z8G37; sWR5k: if (!$if_local_network172) { goto d2h36; } goto XiR1k; IAZQY: return false; goto x328Q; VpRIl: $if_local_network10 = preg_match("\57\136\x31\60\x5c\56\50\x31\x5c\x64\x7b\x32\175\174\62\133\60\x2d\64\x5d\x5c\144\174\x32\x35\x5b\60\x2d\x35\x5d\174\133\x31\x2d\x39\x5d\134\144\174\x5c\144\x29\134\x2e\x28\x31\134\x64\173\x32\x7d\x7c\62\x5b\60\x2d\x34\135\x5c\144\x7c\x32\65\x5b\60\x2d\x35\x5d\x7c\133\x31\x2d\x39\x5d\134\144\174\x5c\144\x29\134\x2e\x28\x31\134\144\173\62\x7d\174\62\x5b\60\55\64\135\x5c\144\174\x32\65\x5b\60\55\65\x5d\x7c\133\61\55\71\x5d\x5c\x64\x7c\134\144\x29\x24\x2f", $host); goto w9AiD; Z8G37: d2h36: goto Rm7hc; e_ug4: kNSRY: goto whNj5; xYxx1: return false; goto dXbWr; JSgtB: YygJc: goto CYMhR; CYMhR: goto ChzI1; goto B2R9D; B2R9D: qoPCJ: goto VpRIl; x328Q: zwUwW: goto TaxgE; G30Lv: if (!empty($host)) { goto M66EU; } goto CjQZ2; YM_Fc: return true; goto Yu06Q; gXC2p: ky1ph: goto Vgpad; w9AiD: if (!$if_local_network10) { goto kNSRY; } goto oN2Ts; uo0_3: M66EU: goto i3Mn3; YOGp1: $if_local_network172 = preg_match("\x2f\136\61\67\62\134\56\x28\61\x5b\x36\55\x39\135\174\x32\133\60\55\x39\x5d\x7c\63\133\x30\x2d\x31\x5d\x29\x5c\56\x28\x31\134\x64\x7b\x32\175\x7c\x32\133\60\x2d\64\x5d\x5c\x64\x7c\62\65\x5b\x30\55\x35\135\174\x5b\x31\x2d\71\x5d\134\144\174\x5c\x64\51\x5c\x2e\x28\x31\134\x64\x7b\x32\x7d\174\x32\x5b\60\55\64\x5d\x5c\x64\174\x32\65\x5b\60\55\65\135\x7c\x5b\61\x2d\71\x5d\134\x64\x7c\134\x64\x29\44\57", $dns_record[0]["\151\160"]); goto sWR5k; aYars: if (!(empty($dns_record) || empty($dns_record[0]["\151\x70"]) || $dns_record[0]["\x69\160"] == "\x31\x32\x37\56\60\x2e\60\56\x31" || strpos($dns_record[0]["\151\160"], "\61\x30\x2e") === 0)) { goto S9ePs; } goto xYxx1; v9Zzk: return false; goto uo0_3; DM6C0: if ($httphost_is_ip) { goto qoPCJ; } goto K8mlk; whNj5: $if_local_network172 = preg_match("\x2f\136\x31\67\62\134\x2e\50\x31\x5b\66\55\x39\135\174\62\133\60\x2d\x39\135\174\63\x5b\60\55\61\x5d\51\134\56\50\61\x5c\144\173\x32\x7d\174\62\x5b\60\x2d\64\135\134\x64\174\62\65\x5b\x30\x2d\65\135\x7c\133\61\x2d\71\135\x5c\x64\174\x5c\144\x29\134\56\50\61\134\144\173\x32\x7d\174\x32\133\60\x2d\x34\x5d\x5c\144\174\62\x35\x5b\x30\55\65\135\x7c\x5b\x31\x2d\x39\135\134\x64\174\134\144\x29\x24\57", $host); goto A_c2T; P0hQ6: if (!$if_local_network192) { goto zwUwW; } goto IAZQY; K8mlk: $dns_record = dns_get_record($host, DNS_A); goto aYars; A_c2T: if (!$if_local_network172) { goto ky1ph; } goto jVS48; CjQZ2: trigger_error("\x66\165\156\x63\164\x69\x6f\156\40\x6e\x61\155\x65\40\167\x65\67\137\x6e\x65\x74\x77\157\162\x6b\137\x65\156\x61\x62\154\145\40\47\x73\40\160\141\x72\x61\x6d\40\72\40\x24\150\157\163\x74\40\x69\x73\40\145\155\x70\164\x79"); goto v9Zzk; dXbWr: S9ePs: goto YOGp1; oN2Ts: return false; goto e_ug4; Yu06Q: } goto hxIFn; flMc3: if (!($i <= $chunk_total)) { goto R9Ih2; } goto Ziyr_; fOLCe: C9NUq: goto oi2GK; n1BiB: gCIqG: goto ICSpa; V10nX: $source_size = we7_getcookie("\x63\x64\x6e\137\x73\x6f\165\162\x63\x65\x5f\x73\151\x7a\145"); goto pILCX; nojMf: Z2g2M: goto oSXoK; M700P: $ret["\165\160\x6c\157\x61\x64"]["\x6e\x61\x6d\x65"] = "\344\xb8\x8a\xe4\xbc\240\xe9\231\x90\xe5\210\266"; goto xUypz; Njgrj: xBdLa: goto mKjc5; YjSRr: sqZ6i: goto uOPv3; piTDU: if (!(is_array($data) && isset($data["\145\x72\162\157\x72"]))) { goto gCIqG; } goto U0Quh; QcfgR: $post = file_get_contents("\160\x68\x70\x3a\57\x2f\151\156\x70\x75\164"); goto R7GaN; gzx0T: lCnHl: goto VxtzY; Vr9Hv: if ($ret["\x66\157\160\145\156"]["\x6f\x6b"]) { goto YzsJ_; } goto JTAXS; I4qkY: eAbqj: goto izhQF; hx7Wv: goto lCnHl; goto Njgrj; QEiwi: function local_mkdirs($path) { goto Ji9bw; VvHb5: Hkkq6: goto UAy6P; Ji9bw: if (is_dir($path)) { goto Hkkq6; } goto XTgJ6; xbaSE: mkdir($path); goto VvHb5; UAy6P: return is_dir($path); goto DSjV3; XTgJ6: local_mkdirs(dirname($path)); goto xbaSE; DSjV3: } goto QLcJG; E0vOw: exit(we7_error(420, $database_result)); goto jVO1S; Z9xXm: $filesize = filesize($filename); goto rF6XF; rF6XF: if (!(file_exists($filename) && !empty($filesize))) { goto KdaHO; } goto OfeAM; g0cJE: set_time_limit(0); goto eHfgy; mXnhH: $ret["\156\x65\164\x77\x6f\x72\x6b\x5f\145\x6e\141\x62\x6c\x65\x64"]["\x66\141\151\x6c\145\144"] = true; goto uMBSM; Q14Rw: we7_finish(); goto wHLfJ; JVNZg: $db_prefix = trim($_POST["\x70\162\x65\146\151\x78"]); goto u60ZI; l7TXY: if (!($finished === true)) { goto JPf2G; } goto u437g; kIgJV: $ret["\x61\163\x70\137\164\x61\x67\x73"]["\162\x65\x73\165\154\x74"] = "\141\163\160\x5f\164\x61\147\163\345\xbc\200\345\220\257\xe7\x8a\xb6\346\200\201"; goto YjSRr; MJQmJ: $error = json_decode($data["\x65\162\x72\157\x72"], true); goto X_W3Q; xKZIr: $ret["\144\141\164\x61"]["\x6e\141\x6d\145"] = "\144\141\x74\x61\xe7\233\256\345\275\x95\xe5\206\x99\345\x85\245"; goto AyNnM; elcit: exit(we7_error(0, $chunk_num)); goto lZXcO; k2N4i: $ret["\163\x65\163\x73\x69\x6f\156"]["\162\145\163\x75\x6c\164"] = "\xe7\263\xbb\xe7\xbb\237\x73\x65\163\163\x69\x6f\x6e\56\141\x75\164\x6f\137\x73\x74\x61\162\x74\xe5\274\200\xe5\x90\xaf"; goto SyQi9; D56KU: $fh = fopen("\x2e\x2f\x77\145\67\x73\x6f\x75\162\143\x65\x2e\172\151\x70", "\x77\x62"); goto rxDl3; m1KU_: $result = []; goto lBxJV; k8NQ2: if (!($handle_result !== true)) { goto u1a1D; } goto QPJor; NmwdV: HY0gK: goto WMs07; RYF1U: we7_setcookie("\162\145\x67\x69\x73\x74\x65\162\x65\144\137\x73\x69\x74\145", 1); goto L26AY; LHUiM: VfRh0: goto HCM2M; NCspr: GJQuG: goto n1BiB; rDfke: function we7_update_sitename($sitename) { goto KcBNg; Vh_Qp: $sitename = !empty($sitename) ? $sitename : $site_info["\x6e\x61\x6d\x65"]; goto qaBKv; vqlgI: t0_Y3: goto BHZjA; vbTvx: return true; goto cYfzB; jRIsA: return $data["\x65\162\x72\157\x72"]; goto abKET; cYfzB: goto yqFSG; goto kv9c0; dxk0e: LkQFd: goto Vh_Qp; kv9c0: gTGja: goto jRIsA; J7CJm: $site_info = pdo_get("\143\x6f\162\145\x5f\x73\145\x74\x74\151\156\x67\163", array("\x6b\145\171" => "\163\151\164\x65")); goto oDi9F; mchMh: return "\xe7\xab\231\xe7\202\xb9\344\277\241\346\201\257\xe4\270\x8d\345\xad\x98\345\x9c\xa8\xef\xbc\x8c\350\257\xb7\351\207\x8d\346\x96\260\346\263\250\xe5\206\214\xe7\253\231\347\x82\271\343\200\202"; goto vqlgI; qaBKv: $data = we7_request_api(API_UPDATE_SITENAME, array("\x61\143\x63\145\163\163\x5f\x74\x6f\x6b\x65\x6e" => $accesstoken, "\163\151\x74\145\137\156\141\x6d\145" => $sitename, "\163\151\x74\145\137\153\145\171" => $site_info["\153\145\171"])); goto vJ5FQ; qheOB: return "\347\xab\x99\xe7\202\271\344\277\xa1\xe6\x81\xaf\344\xb8\xad\347\253\x99\347\202\271\xe5\220\x8d\xe7\xa7\xb0\344\270\272\347\251\xba\xef\274\214\350\xaf\xb7\350\x81\224\xe7\263\xbb\345\xae\x98\xe6\226\xb9\xe5\256\242\xe6\234\x8d\345\244\204\347\220\x86\xef\xbc\201"; goto dxk0e; Q3KBl: if (!(empty($site_info) || empty($site_info["\153\x65\x79"]))) { goto t0_Y3; } goto mchMh; KcBNg: global $accesstoken; goto J7CJm; oDi9F: $site_info = iunserializer($site_info["\166\x61\154\165\145"]); goto Q3KBl; vJ5FQ: if (is_array($data) && isset($data["\x65\x72\162\157\162"])) { goto gTGja; } goto vbTvx; BHZjA: if (!empty($site_info["\156\141\155\x65"])) { goto LkQFd; } goto qheOB; abKET: yqFSG: goto eoFl2; eoFl2: } goto WSo0J; GKYaE: $server = trim($_POST["\x73\145\x72\166\145\162"]); goto zgvS1; uMBSM: $ret["\156\145\x74\x77\157\x72\153\137\145\156\x61\142\x6c\x65\144"]["\156\x61\x6d\x65"] = "\xe5\xa4\x96\347\275\x91\345\x8f\257\350\256\277\xe9\x97\256\xe6\200\xa7"; goto kJRYZ; Oh6c6: fTIfD: goto D0dke; lz35K: define("\x41\x50\x49\x5f\x4f\x41\x55\124\x48\x5f\x52\x45\x47\111\x53\124\105\122\137\123\111\x54\x45", API_HOST . "\57\163\151\x74\145\57\162\x65\147\x69\x73\x74\x65\x72\57\x69\156\144\x65\x78"); goto qGKjT; AyNnM: $ret["\144\x61\x74\x61"]["\x72\145\x73\x75\154\x74"] = "\144\141\164\x61\xe7\x9b\xae\345\xbd\x95\xe6\227\xa0\xe6\263\x95\345\x86\231\345\205\xa5"; goto dHBq9; FlqsB: if (!($action == "\x6c\157\x67\151\156")) { goto XhYdH; } goto KuPI4; oqMq0: $ret["\x61\x6c\x77\141\171\x73\x5f\160\157\160\165\154\x61\164\x65\137\x72\141\x77\137\x70\157\x73\164\x5f\144\141\x74\141"]["\150\x61\x6e\144\154\145"] = "\150\x74\x74\160\163\72\x2f\57\163\56\x77\x37\56\143\x63\57\x77\x6f\57\160\162\x6f\142\x6c\x65\x6d\x2f\61\x33\x34"; goto U8OBJ; SpWyy: $ret["\162\157\157\164"]["\x6e\x61\155\x65"] = "\346\234\xac\345\x9c\xb0\xe7\233\256\xe5\xbd\x95\xe5\206\x99\345\205\xa5"; goto XmMfQ; jDQ_X: cCZSB: goto FRJS3; a3bZs: exit(we7_error(400, $chunk_num)); goto yMVDI; lZXcO: if (!($chunk_num > $chunk_total)) { goto PhPyo; } goto G27y2; pWXXF: header("\101\x63\143\x65\x73\163\55\103\x6f\156\x74\162\x6f\x6c\x2d\101\154\154\157\167\55\110\x65\141\144\145\x72\x73\x3a\117\x72\x69\x67\x69\156\54\x58\x2d\122\145\161\x75\x65\x73\x74\x65\144\x2d\x57\151\x74\x68\54\x43\157\156\164\145\x6e\x74\x2d\124\x79\x70\x65\x2c\x41\x63\x63\145\x70\164\54\101\x75\x74\150\x6f\162\x69\172\x61\164\x69\157\156\x2c\143\141\x6e\x63\145\154\x6c\x6f\141\144"); goto XlKoa; NAiIG: exit(we7_error(419, "\xe6\225\260\xe6\x8d\256\345\272\223\xe5\xaf\206\xe7\xa0\x81\344\270\x8d\xe5\x8f\xaf\344\xb8\272\347\251\272")); goto Kfv5N; Sqgfm: define("\x41\x50\x49\x5f\x4f\101\x55\124\x48\x5f\101\x43\103\x45\x53\123\x54\x4f\113\x45\x4e", API_HOST . "\x2f\163\151\x74\145\x2f\162\145\147\x69\x73\x74\x65\x72\57\x61\143\143\145\x73\x73\x74\x6f\153\x65\156\57\x77\151\x74\150\x2d\x63\157\x64\x65"); goto jWUU2; uOPv3: $ret["\162\157\x6f\x74"]["\157\153"] = local_writeable(IA_INSTALL_ROOT); goto osC7B; eCSim: $code = isset($_GET["\143\157\x64\x65"]) ? trim($_GET["\143\157\144\145"]) : ''; goto XjLwW; OgV9k: set_error_handler("\150\141\156\144\x6c\x65\105\162\x72\x6f\162"); goto ZHWSb; kWSTd: we7_setcookie("\143\150\165\x6e\153\137\164\157\164\141\154", $data["\143\x68\x75\156\153\137\x74\x6f\164\x61\x6c"]); goto wOTTh; qcUFa: $output = fread($hostfile, 8192); goto k9klo; zmNlE: $cdn_source_file = we7_getcookie("\x63\144\x6e\x5f\x73\157\x75\x72\x63\145\137\x75\x72\x6c"); goto jSxi4; RGsUR: uH70i: goto LHUiM; QLcJG: function local_run($sql, $link, $db) { goto rONjf; r7vXA: $sql = str_replace("\xd", "\12", str_replace("\x20\x69\155\163\x5f", "\x20" . $db["\x70\x72\145\146\151\x78"], $sql)); goto x77aA; bxmkT: foreach ($ret as $query) { goto uRwNx; cpX2R: tY6nS: goto qYnD0; uRwNx: $query = trim($query); goto rjtVe; Z4ren: l78wd: goto fjy_3; SHcyc: $link->exec($query); goto aqumn; aqumn: if (!($link->errorCode() != "\60\x30\60\x30\60")) { goto tY6nS; } goto Ytv1e; rjtVe: if (!$query) { goto toLUj; } goto SHcyc; n4Pn7: exit($query); goto cpX2R; Ytv1e: $errorInfo = $link->errorInfo(); goto ri3Vh; ri3Vh: trigger_error($errorInfo[0] . "\72\x20" . $errorInfo[2], E_USER_WARNING); goto n4Pn7; qYnD0: toLUj: goto Z4ren; fjy_3: } goto UWhGI; KG68i: unset($sql); goto bxmkT; UPjvw: foreach (explode("\73\12", trim($sql)) as $query) { goto zDyxy; zDyxy: $ret[$num] = ''; goto dsSPh; PBqrE: foreach ($queries as $query) { $ret[$num] .= isset($query[0]) && $query[0] == "\43" || isset($query[1]) && isset($query[1]) && $query[0] . $query[1] == "\55\x2d" ? '' : $query; jRDUH: } goto mH30w; mH30w: nzncE: goto eGA4v; eGA4v: $num++; goto CvBa7; CvBa7: wfovy: goto M6Ekp; dsSPh: $queries = explode("\12", trim($query)); goto PBqrE; M6Ekp: } goto rYWgM; Y2Xuv: uC91K: goto r7vXA; rYWgM: FyPM7: goto KG68i; rrCw2: $num = 0; goto UPjvw; GjK8L: $ret = array(); goto rrCw2; rONjf: if (!(!isset($sql) || empty($sql))) { goto uC91K; } goto m53ER; x77aA: $sql = str_replace("\15", "\xa", str_replace("\40\x60\x69\155\163\x5f", "\40\x60" . $db["\160\x72\145\146\151\170"], $sql)); goto GjK8L; m53ER: return; goto Y2Xuv; UWhGI: SkhFj: goto hJOvI; hJOvI: } goto ltzql; OCfFa: $chunk_num = max(1, $chunk_num); goto RT19x; SfewM: if (!(!empty($_SERVER["\110\124\x54\x50\x5f\117\x52\111\x47\x49\116"]) && in_array($_SERVER["\x48\124\124\120\137\x4f\122\111\107\111\x4e"], $allow_origin))) { goto bt79R; } goto pWXXF; H1oMF: exit(we7_error(419, "\346\x95\260\346\x8d\256\345\xba\223\xe5\x90\215\xe7\xa7\xb0\344\270\215\xe5\217\xaf\xe4\xb8\272\xe7\xa9\xba")); goto wEDmA; L26AY: we7_setcookie("\151\x6d\163\x5f\x66\141\155\x69\154\171", in_array($data["\x66\x61\155\x69\x6c\x79"], array("\x6c", "\166", "\163", "\x78")) ? $data["\x66\x61\x6d\x69\x6c\x79"] : "\x76"); goto PFCDB; kKqx2: if (!(!empty($username) && $username != "\x61\144\x6d\x69\x6e" || !empty($password) && $password != "\61\62\x33\x34\65\x36")) { goto eAbqj; } goto f0Ozy; ngQIT: goto PbE_C; goto jDQ_X; NjHZN: define("\x49\x4e\137\x53\x59\x53", true); goto zpW1b; XjLwW: $install_url = $siteroot . "\57\151\156\163\164\x61\154\x6c\x2e\x70\x68\x70"; goto iBHQ6; yoJ5R: function we7_need_func() { return ["\144\x6e\163\x5f\147\x65\164\137\x72\145\x63\157\x72\144"]; } goto k0urI; xUypz: $ret["\165\x70\154\157\x61\x64"]["\162\145\x73\x75\154\x74"] = $server["\165\x70\x6c\x6f\x61\x64"]; goto amkSe; B2eEC: $database_result = we7_db(); goto WvBiA; MyU6D: if (!empty($db_name)) { goto nZ7nV; } goto H1oMF; ZnVa7: $password = trim(empty($_POST["\160\141\x73\163\167\157\x72\144"]) ? '' : $_POST["\160\141\163\163\x77\157\162\x64"]); goto Q14Rw; iJOnS: exit(we7_error(400, $chunk_num)); goto qTRKc; V4YBC: S5H6V: goto FCP7s; qTRKc: RR4jW: goto KiLf8; CJfyP: function we7_setcookie($key, $value) { goto CQ8YK; VQ6WT: if (!file_exists("\56\x2f\x64\141\164\141\57\154\157\x67\163\57\144\x61\x74\x61\56\152\x73\157\156")) { goto wabMA; } goto m_1aS; m_1aS: $data = file_get_contents("\56\x2f\x64\x61\164\141\x2f\x6c\x6f\x67\x73\x2f\x64\x61\164\x61\x2e\x6a\x73\157\156"); goto dtPHT; Tq3RV: file_put_contents("\x2e\x2f\x64\141\164\x61\x2f\154\x6f\x67\163\57\144\141\x74\x61\56\152\x73\157\x6e", json_encode($data)); goto v4O0W; zbx3d: $data = json_decode($data, true); goto EhXeU; EhXeU: $data[$key] = $value; goto ui6Vj; efXeT: local_mkdirs("\x64\141\164\x61\x2f\154\157\x67\x73"); goto y2rVa; MtIAN: $data = array($key => $value); goto Keqi4; v4O0W: return true; goto attOO; dtPHT: wabMA: goto RCc0A; t5mO1: $data = null; goto VQ6WT; CQ8YK: if (is_dir("\x64\141\x74\x61\x2f\154\157\147\x73")) { goto YXHTT; } goto efXeT; Keqi4: pysd2: goto Tq3RV; y2rVa: YXHTT: goto t5mO1; RCc0A: if (empty($data)) { goto Ga6VC; } goto zbx3d; HNsBJ: Ga6VC: goto MtIAN; ui6Vj: goto pysd2; goto HNsBJ; attOO: } goto Maw1c; yMVDI: goto uH70i; goto mMckH; VxtzY: RwITL: goto i5mWP; oZ_tY: exit(we7_error(400, $chunk_num)); goto mEi1x; KiLf8: $result = file_put_contents("\56\57\143\150\x75\156\x6b\137" . $chunk_num, $data); goto Ex9sp; VSRox: lxqkN: goto rDlCt; jWUU2: define("\x41\x50\x49\137\x47\105\124\137\120\101\103\113\x41\107\105\137\115\104\x35\x5f\x41\x4e\104\x5f\103\x48\125\x4e\113\x54\117\x54\x41\114", API_HOST . "\x2f\x75\164\151\x6c\x2f\x70\141\143\x6b\x61\x67\145\57\x69\156\163\164\x61\154\154"); goto Hk5fN; tK0xn: vR_iE: goto BOYOH; Gmrls: eJPY5: goto oX0Uw; eNUWn: $data = we7_request_api(API_OAUTH_LOGIN_URL, array("\141\x70\160\151\x64" => "\167\x62\x39\x33\71\146\x61\x35\71\x65\x30\141\61\x38\71\144\x35\x66", "\x72\x65\144\x69\162\145\x63\164" => $callback)); goto mqFaB; eF6yc: OGJla: goto ypkpU; PA9ek: if (!($action == "\143\150\x75\x6e\x6b\164\157\164\x61\154")) { goto RwITL; } goto LE7o3; XXqIr: $ret["\x61\x6c\x77\x61\x79\x73\137\x70\x6f\160\x75\154\141\x74\145\137\x72\x61\167\137\160\x6f\x73\x74\137\x64\x61\164\141"]["\156\141\x6d\x65"] = "\141\154\167\x61\171\163\137\160\x6f\x70\165\154\141\164\145\x5f\162\141\x77\137\x70\x6f\x73\164\137\144\x61\x74\141\351\x85\215\347\xbd\256"; goto SFXqt; OfeAM: exit(we7_error(0, $chunk_num)); goto f4dQM; eWc3P: header("\x41\x63\x63\x65\x73\x73\x2d\103\157\156\x74\x72\157\154\55\101\154\x6c\x6f\167\55\x4f\x72\x69\x67\151\x6e\72" . $_SERVER["\x48\x54\124\120\x5f\117\x52\x49\107\111\x4e"]); goto Kf3Lc; j_JMT: $ret["\144\x6f\x6d"]["\x66\x61\x69\x6c\145\x64"] = true; goto WYmKf; fMKXv: exit; goto rQyZd; LmJrU: if (!($action == "\x69\x6e\163\x74\141\154\x6c")) { goto Rmj5d; } goto g61sg; QTXd3: $ret["\x64\x61\x74\x61"]["\x66\x61\151\154\145\x64"] = true; goto xKZIr; hpwhO: header("\x41\x63\x63\x65\x73\x73\x2d\103\x6f\x6e\x74\162\157\x6c\55\x41\x6c\154\x6f\167\55\115\x65\164\150\x6f\144\x3a\x50\117\x53\x54\54\x47\105\124\54\x4f\120\x54\111\117\x4e\123"); goto eWc3P; b0OJ3: if (!(is_array($data) && isset($data["\x65\x72\x72\157\x72"]))) { goto S5H6V; } goto MJQmJ; pbTRM: $action = "\x6f\141\x75\x74\150"; goto EWQBz; Dlnee: FSpzS: goto TsXCw; KEGcy: $data = we7_request_api(API_OAUTH_ACCESSTOKEN, $params); goto b0OJ3; wHLfJ: if (empty($sitename)) { goto uhjvj; } goto YIYxA; EUrNT: $register_site_result = we7_register_site(); goto AaJ0y; yYeTU: exit(we7_error(0, $db)); goto rjGw_; UQy2y: uhjvj: goto kKqx2; tlnUI: $db_password = trim($_POST["\160\x61\x73\x73\167\x6f\162\144"]); goto JClbl; Qf2WF: define("\105\122\122\x4f\x52\x5f\114\x4f\107\x5f\x46\x49\x4c\x45", "\56\57\144\x61\164\x61\57\x6c\x6f\147\x73\57\145\162\x72\x6f\x72\137\154\x6f\x67\56\160\x68\160"); goto OgV9k; Maw1c: function we7_getcookie($key) { goto dSMZC; PQ4TF: $result = json_decode($data, true); goto ZwQIh; aTyJO: if (!empty($data)) { goto br_Cb; } goto pW06r; ZwQIh: if (!isset($result[$key])) { goto hMob3; } goto NeAZP; ZFgrn: br_Cb: goto PQ4TF; hD2Bd: return ''; goto u0h22; NeAZP: return $result[$key]; goto tF4fF; tF4fF: hMob3: goto McWhv; McWhv: return ''; goto uggjx; oIqcI: MJ03X: goto aTyJO; vWc58: $data = file_get_contents("\56\57\144\x61\164\141\57\154\157\147\x73\57\144\141\164\x61\56\152\x73\x6f\156"); goto oIqcI; u0h22: SAFeb: goto oKlpF; oKlpF: if (!file_exists("\x2e\x2f\144\x61\164\141\57\154\x6f\x67\163\x2f\x64\141\164\x61\x2e\152\163\x6f\x6e")) { goto MJ03X; } goto vWc58; dSMZC: if (!empty($key)) { goto SAFeb; } goto hD2Bd; pW06r: return ''; goto ZFgrn; uggjx: } goto qVM0f; odkpe: echo "\x3c\41\x64\157\143\164\x79\160\145\x20\x68\x74\x6d\154\x3e\xa\74\150\164\x6d\154\40\154\141\x6e\147\x3d\x22\x65\x6e\x22\x3e\12\x3c\150\x65\x61\144\x3e\xa\40\x20\74\155\x65\x74\x61\x20\143\150\141\162\163\145\x74\x3d\42\x75\x74\x66\x2d\x38\42\76\xa\40\40\74\x74\151\x74\x6c\x65\76\345\xbe\256\346\x93\x8e\345\xae\211\350\243\x85\x3c\57\x74\151\x74\154\x65\x3e\xa\40\x20\x3c\x62\141\163\145\40\x68\162\x65\146\x3d\42" . $sitepath . "\x2f\x69\x6e\x73\164\x61\x6c\x6c\x2e\x70\x68\x70\42\76\12\12\40\x20\74\155\x65\164\x61\x20\x6e\x61\155\145\75\42\166\151\x65\167\x70\157\x72\164\42\x20\143\x6f\156\164\145\x6e\x74\x3d\x22\x77\x69\144\x74\150\75\x64\145\166\x69\143\x65\55\x77\151\x64\164\150\x2c\40\151\x6e\151\164\x69\141\x6c\x2d\x73\143\x61\154\x65\75\61\x22\x3e\12\40\40\74\x6c\151\156\153\x20\162\x65\x6c\x3d\x22\151\143\x6f\x6e\x22\40\x74\x79\160\x65\x3d\x22\151\x6d\x61\147\145\57\170\x2d\x69\143\x6f\x6e\x22\x20\x68\x72\x65\x66\x3d\x22\x68\164\x74\x70\163\x3a\57\57\143\144\156\56\167\67\56\143\143\x2f\x66\x61\166\151\x63\157\x6e\56\151\x63\x6f\42\x3e\xa\x3c\x6c\151\x6e\x6b\40\x72\145\154\75\x22\x73\x74\171\x6c\145\x73\x68\x65\x65\164\42\40\x68\162\x65\146\x3d\x22\x2f\57\x63\144\156\56\167\x37\x2e\x63\x63\x2f\x75\145\144\x2f\x77\145\x37\x2d\x69\156\x73\164\x61\x6c\x6c\x2f" . INSTALL_VERSION . "\x2f\x73\x74\171\x6c\145\163\56\x63\163\163\77\x76\75" . time() . "\42\x3e\x3c\x2f\x68\x65\141\x64\x3e\12\74\x62\157\x64\171\76\12\40\40\x3c\x61\x70\160\55\x72\x6f\157\164\x3e\74\x2f\141\160\x70\55\162\157\x6f\164\x3e\xa\x3c\163\x63\x72\151\160\164\x20\x74\171\160\145\75\x22\x74\145\x78\164\x2f\152\141\166\141\x73\143\x72\x69\x70\x74\x22\40\163\162\143\x3d\42\57\x2f\x63\144\x6e\56\x77\x37\56\x63\143\57\165\145\x64\57\167\x65\x37\x2d\x69\156\163\164\141\x6c\154\x2f" . INSTALL_VERSION . "\57\x72\165\156\164\151\155\145\56\152\x73\x3f\x76\x3d" . time() . "\42\x3e\74\57\163\x63\x72\151\160\164\76\74\163\x63\162\x69\160\164\x20\x74\x79\x70\145\75\x22\164\145\x78\x74\x2f\x6a\141\166\141\x73\x63\162\151\160\164\42\x20\x73\x72\x63\x3d\42\x2f\x2f\x63\x64\x6e\x2e\x77\67\56\143\x63\x2f\x75\x65\x64\x2f\x77\145\x37\55\151\156\x73\x74\x61\154\154\x2f" . INSTALL_VERSION . "\x2f\160\x6f\x6c\171\x66\x69\154\154\163\x2e\152\163\77\166\x3d" . time() . "\42\x3e\74\57\x73\x63\x72\x69\160\164\x3e\74\163\x63\162\151\160\164\x20\x74\171\160\x65\75\42\x74\145\170\x74\57\152\141\x76\141\x73\143\162\x69\160\164\42\x20\163\x72\x63\x3d\x22\x2f\x2f\x63\x64\x6e\x2e\167\67\x2e\143\x63\57\x75\145\x64\x2f\167\x65\67\x2d\x69\156\163\x74\x61\154\x6c\57" . INSTALL_VERSION . "\57\155\141\x69\156\56\152\x73\77\166\x3d" . time() . "\42\x3e\74\57\163\x63\x72\151\160\164\x3e\74\57\142\157\x64\x79\76\xa\x3c\57\150\x74\155\154\76";
?>